CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]   2023/11/21 07:06:44

Modified files:
        lang/go        : Makefile 
        lang/go/patches: patch-src_syscall_syscall_openbsd_libc_go 
                         patch-src_syscall_zsyscall_openbsd_386_go 
                         patch-src_syscall_zsyscall_openbsd_386_s 
                         patch-src_syscall_zsyscall_openbsd_amd64_go 
                         patch-src_syscall_zsyscall_openbsd_amd64_s 
                         patch-src_syscall_zsyscall_openbsd_arm64_go 
                         patch-src_syscall_zsyscall_openbsd_arm64_s 
                         patch-src_syscall_zsyscall_openbsd_arm_go 
                         patch-src_syscall_zsyscall_openbsd_arm_s 
                         patch-src_syscall_zsyscall_openbsd_mips64_go 
                         patch-src_syscall_zsyscall_openbsd_mips64_s 
                         patch-src_syscall_zsyscall_openbsd_riscv64_go 
                         patch-src_syscall_zsyscall_openbsd_riscv64_s 

Log message:
Remove references to the libc syscall stub from lang/go.

The syscall symbol will soon be removed from libc - remove references to it
from Go, so that it will continue to function. This effectively means that
syscall.Syscall* and syscall.RawSyscall* will stop working and return
ENOSYS. For the time being, given the amount of usage in the Go ecosystem,
reroute calls with SYS_IOCTl and SYS_SYSCTL to the appropriate libc stub,
so that they continue to work.

Thanks to tb@ for testing on systems with syscall removed from libc.

Reply via email to