go/src/syscall
Russ Cox 65633fee16 [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails
Generally speaking Go functions make no guarantees
about what has happened to result parameters on error,
and Pipe is no exception: callers should avoid looking at
p if Pipe returns an error.

However, we had a bug in which ForkExec was using the
content of p after a failed Pipe, and others may too.
As a robustness fix, make Pipe avoid writing to p on failure.

Updates #50057

Change-Id: Ie8955025dbd20702fabadc9bbe1d1a5ac0f36305
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1291271
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/370535
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
2021-12-09 12:28:48 +00:00
..
js syscall/js: improve documentation of Func.Release 2020-05-24 17:46:52 +00:00
asm9_unix1_amd64.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm9_unix2_amd64.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm_aix_ppc64.s
asm_darwin_amd64.s
asm_darwin_arm64.s
asm_freebsd_arm.s
asm_freebsd_arm64.s syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
asm_linux_386.s syscall: implement rawVforkSyscall for remaining linux platforms 2021-03-03 05:33:21 +00:00
asm_linux_amd64.s syscall: implement rawVforkSyscall for remaining linux platforms 2021-03-03 05:33:21 +00:00
asm_linux_arm.s syscall: implement rawVforkSyscall for remaining linux platforms 2021-03-03 05:33:21 +00:00
asm_linux_arm64.s syscall: implement rawVforkSyscall for remaining linux platforms 2021-03-03 05:33:21 +00:00
asm_linux_mips64x.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm_linux_mipsx.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm_linux_ppc64x.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm_linux_riscv64.s syscall: support rawVforkSyscall on linux/riscv64 2020-08-16 14:23:50 +00:00
asm_linux_s390x.s
asm_netbsd_arm.s
asm_netbsd_arm64.s
asm_openbsd_386.s runtime,syscall: convert syscall on openbsd/386 to libc 2021-04-30 20:00:36 +00:00
asm_openbsd_amd64.s runtime,syscall: convert syscall on openbsd/amd64 to libc 2021-01-26 07:10:57 +00:00
asm_openbsd_arm.s runtime,syscall: convert syscall on openbsd/arm to libc 2021-05-09 17:07:01 +00:00
asm_openbsd_arm64.s runtime,syscall: convert syscall on openbsd/arm64 to libc 2021-01-28 02:19:23 +00:00
asm_openbsd_mips64.s syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
asm_plan9_386.s
asm_plan9_amd64.s
asm_plan9_arm.s
asm_solaris_amd64.s
asm_unix_386.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
asm_unix_amd64.s syscall: add //go:build lines to assembly files 2021-05-04 12:47:05 +00:00
bpf_bsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
bpf_darwin.go
const_plan9.go
creds_test.go net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix 2021-04-19 21:27:43 +00:00
dir_plan9.go
dirent.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
dirent_test.go syscall: replace os.MkdirTemp with T.TempDir 2021-04-07 23:00:58 +00:00
dll_windows.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
endian_big.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
endian_little.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
env_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
env_windows.go
errors_plan9.go
exec_aix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
exec_bsd.go runtime,syscall: simplify openbsd related build tags 2021-05-11 02:46:21 +00:00
exec_libc.go syscall: restore signal mask after setting foreground process group 2021-04-27 13:50:09 +00:00
exec_libc2.go runtime,syscall: simplify openbsd related build tags 2021-05-11 02:46:21 +00:00
exec_linux.go syscall: restore signal mask after setting foreground process group 2021-04-27 13:50:09 +00:00
exec_linux_test.go syscall: fix TestGroupCleanupUserNamespace test failure on Fedora 2021-06-16 04:45:46 +00:00
exec_plan9.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
exec_solaris_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
exec_unix.go [release-branch.go1.17] syscall: fix ForkLock spurious close(0) on pipe failure 2021-12-09 12:28:39 +00:00
exec_unix_test.go syscall: move TestForegroundSignal create call out of goroutine 2021-04-27 19:12:41 +00:00
exec_windows.go [release-branch.go1.17] syscall: do not use handle lists on windows when NoInheritHandles is true 2021-10-25 21:16:46 +00:00
exec_windows_test.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
export_darwin_test.go syscall: use libc-based ioctl for Ioctl in tests on darwin 2020-09-22 18:05:58 +00:00
export_freebsd_test.go
export_linux_test.go
export_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
export_windows_test.go syscall: treat proc thread attribute lists as unsafe.Pointers 2021-03-04 19:59:23 +00:00
flock.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
flock_aix.go
flock_darwin.go
flock_linux_32bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
forkpipe.go syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe 2021-02-25 09:20:03 +00:00
forkpipe2.go syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe 2021-02-25 09:20:03 +00:00
fs_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
getdirentries_test.go syscall: replace os.MkdirTemp with T.TempDir 2021-04-07 23:00:58 +00:00
lsf_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
mkall.sh runtime,syscall: convert syscall on openbsd/arm to libc 2021-05-09 17:07:01 +00:00
mkasm.go syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
mkerrors.sh
mkpost.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mksyscall.pl runtime,syscall: convert syscall on openbsd/arm to libc 2021-05-09 17:07:01 +00:00
mksyscall_libc.pl syscall: add //go:build lines to files generated with with mksyscall_libc.pl 2021-05-02 21:24:28 +00:00
mksyscall_windows.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
mksysctl_openbsd.pl
mksysnum_dragonfly.pl
mksysnum_freebsd.pl
mksysnum_linux.pl
mksysnum_netbsd.pl
mksysnum_openbsd.pl syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
mksysnum_plan9.sh
mmap_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
msan.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
msan0.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
net.go
net_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
netlink_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
ptrace_darwin.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ptrace_ios.go syscall: add explicit ios build tag 2021-02-20 19:56:50 +00:00
pwd_plan9.go
route_bsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
route_darwin.go
route_dragonfly.go
route_freebsd.go
route_freebsd_32bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
route_freebsd_64bit.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
route_netbsd.go
route_openbsd.go
security_windows.go syscall, internal/syscall/windows: remove utf16PtrToString parameter 2020-05-03 07:23:32 +00:00
setuidgid_32_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
setuidgid_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sock_cloexec_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
sockcmsg_dragonfly.go syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 2019-10-20 19:33:07 +00:00
sockcmsg_linux.go syscall: avoid "just past the end" pointers in UnixRights 2019-10-17 18:42:47 +00:00
sockcmsg_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sockcmsg_unix_other.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall.go syscall: drop references to Unix epoch in Timeval/Timespec docs 2020-12-10 23:24:38 +00:00
syscall_aix.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_aix_ppc64.go
syscall_bsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_bsd_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_darwin.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_darwin_amd64.go syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
syscall_darwin_arm64.go syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
syscall_dragonfly.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_dragonfly_amd64.go
syscall_dup2_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_dup3_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_freebsd.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_freebsd_386.go
syscall_freebsd_amd64.go
syscall_freebsd_arm.go
syscall_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
syscall_freebsd_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_illumos.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_js.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
syscall_linux.go syscall: on linux use accept4 in Accept, fall back to accept 2021-04-26 23:06:45 +00:00
syscall_linux_386.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_amd64.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_arm.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_arm64.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_mips64x.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_mipsx.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_ppc64x.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_riscv64.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_s390x.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_linux_test.go syscall: some containers may fail syscall.TestSetuidEtc 2021-05-17 17:46:08 +00:00
syscall_netbsd.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_netbsd_386.go
syscall_netbsd_amd64.go
syscall_netbsd_arm.go
syscall_netbsd_arm64.go
syscall_openbsd.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_openbsd1.go runtime,syscall: simplify openbsd related build tags 2021-05-11 02:46:21 +00:00
syscall_openbsd_386.go
syscall_openbsd_amd64.go
syscall_openbsd_arm.go
syscall_openbsd_arm64.go
syscall_openbsd_libc.go runtime,syscall: simplify openbsd related build tags 2021-05-11 02:46:21 +00:00
syscall_openbsd_mips64.go syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
syscall_plan9.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_plan9_test.go
syscall_ptrace_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
syscall_solaris.go [release-branch.go1.17] syscall: avoid writing to p when Pipe(p) fails 2021-12-09 12:28:48 +00:00
syscall_solaris_amd64.go
syscall_test.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
syscall_unix.go all: add internal/itoa package 2021-03-14 17:56:50 +00:00
syscall_unix_test.go syscall: don't defer close raw Socketpair fds in tests 2021-04-14 05:49:15 +00:00
syscall_windows.go syscall: do not pass console handles to PROC_THREAD_ATTRIBUTE_HANDLE_LIST on Windows 7 2021-06-04 09:39:32 +00:00
syscall_windows_test.go syscall: disable c-shared test when no cgo, for windows/arm 2021-06-15 16:53:28 +00:00
tables_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
time_fake.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
time_nofake.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
timestruct.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_aix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_darwin.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_dragonfly.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_freebsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_illumos_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_linux.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_netbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_openbsd.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_solaris.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
types_windows.go syscall: use runtime.KeepAlive for ProcThreadAttributeList arguments 2021-03-11 13:49:01 +00:00
types_windows_386.go
types_windows_amd64.go
types_windows_arm.go
types_windows_arm64.go syscall: add windows/arm64 support 2021-02-19 00:40:42 +00:00
zerrors_aix_ppc64.go
zerrors_darwin_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_darwin_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_dragonfly_amd64.go os, syscall: use wait6 to avoid wait/kill race on dragonfly 2021-05-02 21:26:09 +00:00
zerrors_freebsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_freebsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_freebsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_freebsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_mips.go
zerrors_linux_mips64.go
zerrors_linux_mips64le.go
zerrors_linux_mipsle.go
zerrors_linux_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_ppc64le.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_linux_riscv64.go syscall: follow convention for generated code comments in linux/riscv64 files 2019-11-23 11:00:41 +00:00
zerrors_linux_s390x.go
zerrors_netbsd_386.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zerrors_netbsd_amd64.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zerrors_netbsd_arm.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zerrors_netbsd_arm64.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zerrors_openbsd_386.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
zerrors_openbsd_amd64.go net: pass MSG_CMSG_CLOEXEC in ReadMsgUnix on dragonfly, netbsd and openbsd 2021-04-20 21:00:46 +00:00
zerrors_openbsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_openbsd_arm64.go
zerrors_openbsd_mips64.go syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
zerrors_solaris_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zerrors_windows.go
zsyscall_aix_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_darwin_amd64.go syscall: restore nosplit for ptrace1 on Darwin 2021-04-27 17:18:15 +00:00
zsyscall_darwin_amd64.s syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_darwin_arm64.go syscall: restore nosplit for ptrace1 on Darwin 2021-04-27 17:18:15 +00:00
zsyscall_darwin_arm64.s syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_dragonfly_amd64.go syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe 2021-02-25 09:20:03 +00:00
zsyscall_freebsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_freebsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_freebsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_freebsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_mips.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_mips64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_mips64le.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_mipsle.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_ppc64le.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_riscv64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_linux_s390x.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_netbsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_netbsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_netbsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_netbsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_openbsd_386.go runtime,syscall: convert syscall on openbsd/386 to libc 2021-04-30 20:00:36 +00:00
zsyscall_openbsd_386.s runtime,syscall: convert syscall on openbsd/386 to libc 2021-04-30 20:00:36 +00:00
zsyscall_openbsd_amd64.go syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_openbsd_amd64.s syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_openbsd_arm.go runtime,syscall: convert syscall on openbsd/arm to libc 2021-05-09 17:07:01 +00:00
zsyscall_openbsd_arm.s runtime,syscall: convert syscall on openbsd/arm to libc 2021-05-09 17:07:01 +00:00
zsyscall_openbsd_arm64.go syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_openbsd_arm64.s syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
zsyscall_openbsd_mips64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_plan9_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_plan9_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_plan9_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_solaris_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsyscall_windows.go syscall: regenerate zsyscall_windows.go 2021-06-04 15:53:06 +00:00
zsysctl_openbsd.go
zsysnum_darwin_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_darwin_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_dragonfly_amd64.go os, syscall: use wait6 to avoid wait/kill race on dragonfly 2021-05-02 21:26:09 +00:00
zsysnum_freebsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_freebsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_freebsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_freebsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_mips.go
zsysnum_linux_mips64.go
zsysnum_linux_mips64le.go
zsysnum_linux_mipsle.go
zsysnum_linux_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_ppc64le.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_linux_riscv64.go syscall: follow convention for generated code comments in linux/riscv64 files 2019-11-23 11:00:41 +00:00
zsysnum_linux_s390x.go
zsysnum_netbsd_386.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zsysnum_netbsd_amd64.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zsysnum_netbsd_arm.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zsysnum_netbsd_arm64.go os, syscall: use wait6 to avoid wait/kill race on netbsd 2021-05-04 12:44:42 +00:00
zsysnum_openbsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_openbsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_openbsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zsysnum_openbsd_arm64.go
zsysnum_openbsd_mips64.go syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
zsysnum_plan9.go
zsysnum_solaris_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_aix_ppc64.go
ztypes_darwin_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_darwin_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_dragonfly_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_freebsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_freebsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_freebsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_freebsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_mips.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_mips64.go syscall: fix EpollEvent padding on mips64{,le} 2019-11-15 15:12:42 +00:00
ztypes_linux_mips64le.go syscall: fix EpollEvent padding on mips64{,le} 2019-11-15 15:12:42 +00:00
ztypes_linux_mipsle.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_ppc64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_ppc64le.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_linux_riscv64.go syscall: resync various riscv64 structs with x/sys/unix 2020-01-06 11:46:56 +00:00
ztypes_linux_s390x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_netbsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_netbsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_netbsd_arm.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_netbsd_arm64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_openbsd_386.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_openbsd_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
ztypes_openbsd_arm.go
ztypes_openbsd_arm64.go
ztypes_openbsd_mips64.go syscall: add support for openbsd/mips64 2020-10-29 08:08:26 +00:00
ztypes_solaris_amd64.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00