Debian Patches

Status for golang-golang-x-sys/0.49.0+dfsg-2

Patch Description Author Forwarded Bugs Origin Last update
02-allow-dev-random-minor-minor-mismatch-in-TestDevices.patch Allow minor number of /dev/random to mismatch in TestDevices In some autobuilders, /dev/random is bind-mounted to /dev/urandom
so that entropy intensive test suites, common among crypto-related
packages, do not hang the autobuilder because of lack of entropy.
.
But then, the TestDevices test would fail since the minor number
of the /dev/random device would be different.
.
Thanks to Santiago Vila <sanvila@debian.org> for the idea and for
providing an initial patch.
Anthony Fok <foka@debian.org> not-needed debian vendor 2020-02-21
03-skip-TestOpenByHandleAt-if-openMountByID-fails.patch Skip TestOpenByHandleAt if openMountByID fails Prevent TestOpenByHandleAt from failing under pbuilder chroots.
Thanks to Gianfranco Costamagna <locutusofborg@debian.org>
for providing an initial patch.
Anthony Fok <foka@debian.org> not-needed debian vendor 2020-02-21
04-ppc64x-set-r12-before-syscall-branch.patch Set R12 before branching to the syscall entry point on ppc64x The four syscall trampolines jump to the global entry point of the ABI0 wrapper
without setting R12. In a PIE that entry point derives its TOC from R12, so the
callee gets a wrong TOC and every global access after it is wrong. Any PIE
binary calling unix.Syscall dies at startup on ppc64le. Non-PIE is unaffected.
.
They came from upstream b6b8557, which reverts 7155702 (2018, golang/go#16662).
Loading the address into R12 instead of R31 fixes it and keeps the indirect
branch, so it does not reintroduce that linker range problem.
.
Merged upstream as f5cb0306; drop this patch at the next x/sys release that
includes it.
diff --git a/unix/asm_linux_ppc64x.s b/unix/asm_linux_ppc64x.s
index 2e1f4c3e..daa85713 100644
Juan Manuel Mendez Rey <juan.mendezr@proton.me> yes debian vendor 2026-11-01

All known versions for source package 'golang-golang-x-sys'

Links