go/src/syscall
Jake Bailey 06751c455d syscall: cache Errno.Error() on Windows
Windows is unlike the other OSs and depends on a syscall for most
errors. This can be costly; cache the returned string for later reuse.

This helps test caching, since errors are written out as string to the
test ID, which are often PathErrors wrapping Errnos.

For now, only cache ERROR_FILE_NOT_FOUND and ERROR_PATH_NOT_FOUND.

goos: windows
goarch: amd64
pkg: syscall
cpu: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
               │    old.txt    │               new.txt               │
               │    sec/op     │   sec/op     vs base                │
ErrnoString-20   1788.00n ± 1%   11.08n ± 1%  -99.38% (p=0.000 n=10)

               │  old.txt   │              new.txt               │
               │    B/op    │   B/op     vs base                 │
ErrnoString-20   48.00 ± 0%   0.00 ± 0%  -100.00% (p=0.000 n=10)

               │  old.txt   │               new.txt               │
               │ allocs/op  │ allocs/op   vs base                 │
ErrnoString-20   1.000 ± 0%   0.000 ± 0%  -100.00% (p=0.000 n=10)

For #72992

Change-Id: I9a0910fa6538772ffc64ef7670b44059a2c7d18c
Reviewed-on: https://go-review.googlesource.com/c/go/+/667495
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
2025-04-30 08:41:56 -07:00
..
js syscall/js: adjust comments to that gofmt does not change them 2025-01-13 11:11:07 -08:00
asm9_unix2_amd64.s
asm_aix_ppc64.s
asm_darwin_amd64.s
asm_darwin_arm64.s
asm_freebsd_arm.s
asm_freebsd_arm64.s
asm_freebsd_riscv64.s
asm_linux_386.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_amd64.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_arm.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_arm64.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_loong64.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_mips64x.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_mipsx.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_ppc64x.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_riscv64.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_linux_s390x.s syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
asm_netbsd_arm.s
asm_netbsd_arm64.s
asm_openbsd_386.s
asm_openbsd_amd64.s
asm_openbsd_arm.s
asm_openbsd_arm64.s
asm_openbsd_mips64.s
asm_openbsd_ppc64.s syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
asm_openbsd_riscv64.s syscall: add syscall support for openbsd/riscv64 port 2023-10-04 02:55:38 +00:00
asm_plan9_386.s
asm_plan9_amd64.s
asm_plan9_arm.s
asm_solaris_amd64.s
asm_unix_386.s
asm_unix_amd64.s
badlinkname_unix.go os, syscall: use unix build tag where appropriate 2025-02-25 12:09:25 -08:00
bpf_bsd.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
const_plan9.go
creds_test.go
dir_plan9.go internal/byteorder: use canonical Go casing in names 2024-11-20 20:59:28 +00:00
dirent.go internal/byteorder: use canonical Go casing in names 2024-11-20 20:59:28 +00:00
dirent_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
dll_windows.go syscall: mark SyscallN as noescape 2024-11-06 16:35:17 +00:00
env_unix.go syscall: use sync.OnceFunc for copyenv 2025-02-23 11:53:16 -08:00
env_windows.go
errors_plan9.go
exec_aix_test.go syscall: export Tc{get,set}pgrp for testing 2024-03-22 04:41:27 +00:00
exec_bsd.go syscall: on exec failure, close pidfd 2024-09-10 22:35:31 +00:00
exec_freebsd.go syscall: on exec failure, close pidfd 2024-09-10 22:35:31 +00:00
exec_freebsd_test.go all: surround -test.run arguments with ^$ 2025-02-25 10:58:29 -08:00
exec_libc.go syscall: on exec failure, close pidfd 2024-09-10 22:35:31 +00:00
exec_libc2.go syscall: on exec failure, close pidfd 2024-09-10 22:35:31 +00:00
exec_linux.go all: gofmt -w 2025-02-25 11:49:16 -08:00
exec_linux_test.go runtime: in asan mode call __lsan_do_leak_check when exiting 2025-03-05 18:23:46 -08:00
exec_pdeathsig_test.go syscall: use t.TempDir in tests 2024-09-03 20:16:07 +00:00
exec_plan9.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
exec_solaris_test.go syscall: export Tc{get,set}pgrp for testing 2024-03-22 04:41:27 +00:00
exec_unix.go syscall: on exec failure, close pidfd 2024-09-10 22:35:31 +00:00
exec_unix_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
exec_windows.go syscall: fix dangling pointers in Windows' process attributes 2025-04-08 07:56:17 -07:00
exec_windows_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
export_bsd_test.go syscall: export Tc{get,set}pgrp for testing 2024-03-22 04:41:27 +00:00
export_linux_test.go syscall: don't change local limit if prlimit used for another process 2024-05-13 21:18:19 +00:00
export_rlimit_test.go syscall: don't change local limit if prlimit used for another process 2024-05-13 21:18:19 +00:00
export_wasip1_test.go
export_windows_test.go
flock_aix.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
flock_bsd.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
flock_linux.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
flock_linux_32bit.go syscall: rm obsoleted comment 2024-02-15 21:35:49 +00:00
forkpipe.go
forkpipe2.go
fs_js.go syscall: disable O_DIRECTORY on Windows for js/wasm 2025-02-18 09:30:04 -08:00
fs_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
fs_wasip1_test.go
getdirentries_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
linkname_bsd.go all: document legacy //go:linkname for modules with ≥100,000 dependents 2024-05-22 20:12:46 +00:00
linkname_darwin.go all: document legacy //go:linkname for final round of modules 2024-05-29 17:58:53 +00:00
linkname_libc.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
linkname_openbsd.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
linkname_unix.go all: document legacy //go:linkname for final round of modules 2024-05-29 17:58:53 +00:00
lsf_linux.go
mkall.sh internal/poll,syscall: drop the fallback for accept4 on linux/arm 2024-08-07 17:32:52 +00:00
mkasm.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
mkerrors.sh
mkpost.go
mksyscall.pl syscall: prevent redundant newline from empty $extraimports 2024-05-24 17:15:02 +00:00
mksyscall_libc.pl
mksyscall_windows.go
mksysctl_openbsd.pl
mksysnum_dragonfly.pl
mksysnum_freebsd.pl
mksysnum_linux.pl
mksysnum_netbsd.pl
mksysnum_openbsd.pl
mksysnum_plan9.sh
mmap_unix_test.go
net.go
net_fake.go net: enable most tests on wasip1 and js 2023-09-18 17:20:52 +00:00
net_js.go
net_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
netlink_linux.go all: clean unnecessary casts 2023-09-18 20:01:34 +00:00
os_wasip1.go
pwd_plan9.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
rlimit.go syscall: honor prlimit set by a different process 2024-08-30 19:55:07 +00:00
rlimit_darwin.go
rlimit_stub.go syscall: copy rlimit.go's build constraint to rlimit_test.go 2023-11-02 21:22:57 +00:00
rlimit_test.go syscall: copy rlimit.go's build constraint to rlimit_test.go 2023-11-02 21:22:57 +00:00
route_bsd.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
route_darwin.go
route_dragonfly.go
route_freebsd.go
route_freebsd_32bit.go
route_freebsd_64bit.go
route_netbsd.go
route_openbsd.go
security_windows.go all: fix Microsoft links 2023-09-12 16:42:41 +00:00
setuidgid_32_linux.go
setuidgid_linux.go
sockcmsg_dragonfly.go
sockcmsg_linux.go
sockcmsg_unix.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
sockcmsg_unix_other.go
syscall.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
syscall_aix.go syscall: optimize Getwd on aix 2024-08-21 23:14:07 +00:00
syscall_aix_ppc64.go
syscall_bsd.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
syscall_bsd_test.go
syscall_darwin.go all: document legacy //go:linkname for modules with ≥1,000 dependents 2024-05-23 01:16:50 +00:00
syscall_darwin_amd64.go syscall: remove ptrace1 on darwin 2023-11-27 21:34:30 +00:00
syscall_darwin_arm64.go syscall: remove ptrace1 on darwin 2023-11-27 21:34:30 +00:00
syscall_dragonfly.go syscall: remove unused writelen 2023-09-20 18:12:35 +00:00
syscall_dragonfly_amd64.go
syscall_freebsd.go syscall: remove unused writelen 2023-09-20 18:12:35 +00:00
syscall_freebsd_386.go syscall: on freebsd-386 only update written for certain errors 2024-12-12 14:43:37 -08:00
syscall_freebsd_amd64.go
syscall_freebsd_arm.go
syscall_freebsd_arm64.go
syscall_freebsd_riscv64.go
syscall_freebsd_test.go
syscall_illumos.go
syscall_js.go syscall: add O_DIRECTORY for js 2024-08-21 18:23:25 +00:00
syscall_linux.go syscall: allow \x00-prefixed unix abstract socket to use full path length 2025-02-24 09:43:24 -08:00
syscall_linux_386.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_amd64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_arm.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_arm64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_loong64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_mips64x.go syscall, internal/syscall/unix: fix fstatat on linux/mips64 2024-12-17 10:04:38 -08:00
syscall_linux_mipsx.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_ppc64x.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_riscv64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_s390x.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
syscall_linux_test.go syscall: use testing.T.Context 2025-03-13 05:24:54 -07:00
syscall_netbsd.go syscall: remove unused writelen 2023-09-20 18:12:35 +00:00
syscall_netbsd_386.go
syscall_netbsd_amd64.go
syscall_netbsd_arm.go
syscall_netbsd_arm64.go
syscall_openbsd.go syscall: call getfsstat via libc on openbsd 2023-11-02 10:34:00 +00:00
syscall_openbsd1.go syscall: remove unused writelen 2023-09-20 18:12:35 +00:00
syscall_openbsd_386.go
syscall_openbsd_amd64.go
syscall_openbsd_arm.go
syscall_openbsd_arm64.go
syscall_openbsd_libc.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
syscall_openbsd_mips64.go
syscall_openbsd_ppc64.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
syscall_openbsd_riscv64.go syscall: add syscall support for openbsd/riscv64 port 2023-10-04 02:55:38 +00:00
syscall_plan9.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
syscall_plan9_test.go
syscall_ptrace_test.go
syscall_solaris.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
syscall_solaris_amd64.go
syscall_solarisonly.go
syscall_test.go
syscall_unix.go internal/asan: match runtime.asan{read,write} len parameter type 2024-03-19 16:19:26 +00:00
syscall_unix_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
syscall_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
syscall_windows.go syscall: cache Errno.Error() on Windows 2025-04-30 08:41:56 -07:00
syscall_windows_test.go syscall: cache Errno.Error() on Windows 2025-04-30 08:41:56 -07:00
tables_js.go
tables_wasip1.go syscall: define EBADFD for wasip1 target 2024-11-14 16:05:15 +00:00
time_fake.go
time_nofake.go
timestruct.go syscall: add available godoc link 2024-02-26 21:03:59 +00:00
types_aix.go
types_darwin.go
types_dragonfly.go
types_freebsd.go
types_illumos_amd64.go
types_linux.go
types_netbsd.go
types_openbsd.go
types_solaris.go
types_windows.go syscall: fix dangling pointers in Windows' process attributes 2025-04-08 07:56:17 -07:00
types_windows_386.go
types_windows_amd64.go
types_windows_arm.go
types_windows_arm64.go
wtf8_windows.go
wtf8_windows_test.go
zerrors_aix_ppc64.go
zerrors_darwin_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_darwin_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_dragonfly_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_freebsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_freebsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_freebsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_freebsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_freebsd_riscv64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_386.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_amd64.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_arm.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_loong64.go
zerrors_linux_mips.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_mips64.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_mips64le.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_mipsle.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_ppc64.go syscall: use consistent message for ESTALE on Linux 2025-02-03 12:11:17 -08:00
zerrors_linux_ppc64le.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_riscv64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_linux_s390x.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_netbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_netbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_netbsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_netbsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_openbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_openbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_openbsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_openbsd_arm64.go
zerrors_openbsd_mips64.go
zerrors_openbsd_ppc64.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
zerrors_openbsd_riscv64.go syscall: add syscall support for openbsd/riscv64 port 2023-10-04 02:55:38 +00:00
zerrors_solaris_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zerrors_windows.go
zsyscall_aix_ppc64.go syscall: add Setuid for aix 2024-05-29 13:50:55 +00:00
zsyscall_darwin_amd64.go syscall: remove ptrace1 on darwin 2023-11-27 21:34:30 +00:00
zsyscall_darwin_amd64.s syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_darwin_arm64.go syscall: remove ptrace1 on darwin 2023-11-27 21:34:30 +00:00
zsyscall_darwin_arm64.s syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_dragonfly_amd64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_freebsd_386.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_freebsd_amd64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_freebsd_arm.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_freebsd_arm64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_freebsd_riscv64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_linux_386.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_amd64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_arm.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_arm64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_loong64.go syscall: use fchmodat2 in Fchmodat 2023-11-08 17:55:49 +00:00
zsyscall_linux_mips.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_mips64.go syscall, internal/syscall/unix: fix fstatat on linux/mips64 2024-12-17 10:04:38 -08:00
zsyscall_linux_mips64le.go syscall, internal/syscall/unix: fix fstatat on linux/mips64 2024-12-17 10:04:38 -08:00
zsyscall_linux_mipsle.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_ppc64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_ppc64le.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_riscv64.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_linux_s390x.go syscall: always use prlimit for getrlimit/setrlimit on Linux 2024-08-30 19:26:45 +00:00
zsyscall_netbsd_386.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_netbsd_amd64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_netbsd_arm.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_netbsd_arm64.go syscall: provide and use ioctlPtr for all BSD platforms 2023-11-07 10:34:48 +00:00
zsyscall_openbsd_386.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_386.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_amd64.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_amd64.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_arm.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_arm.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_arm64.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_arm64.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_mips64.go syscall: remove unused writelen 2023-09-20 18:12:35 +00:00
zsyscall_openbsd_ppc64.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_ppc64.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_riscv64.go crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_openbsd_riscv64.s crypto/rand: use arc4random_buf() on OpenBSD 2024-10-07 15:34:19 +00:00
zsyscall_plan9_386.go
zsyscall_plan9_amd64.go
zsyscall_plan9_arm.go
zsyscall_solaris_amd64.go syscall: regen zsyscall_{aix_ppc64,solaris_amd64}.go 2023-11-10 21:09:10 +00:00
zsyscall_windows.go syscall: remove unused windows function 2025-04-08 17:13:04 -07:00
zsysctl_openbsd.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
zsysnum_darwin_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_darwin_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_dragonfly_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_freebsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_freebsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_freebsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_freebsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_freebsd_riscv64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_loong64.go
zsysnum_linux_mips.go
zsysnum_linux_mips64.go
zsysnum_linux_mips64le.go
zsysnum_linux_mipsle.go
zsysnum_linux_ppc64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_ppc64le.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_linux_riscv64.go
zsysnum_linux_s390x.go
zsysnum_netbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_netbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_netbsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_netbsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_openbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_openbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_openbsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
zsysnum_openbsd_arm64.go
zsysnum_openbsd_mips64.go
zsysnum_openbsd_ppc64.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
zsysnum_openbsd_riscv64.go syscall: add syscall support for openbsd/riscv64 port 2023-10-04 02:55:38 +00:00
zsysnum_plan9.go
zsysnum_solaris_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_aix_ppc64.go
ztypes_darwin_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_darwin_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_dragonfly_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_freebsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_freebsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_freebsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_freebsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_freebsd_riscv64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_loong64.go
ztypes_linux_mips.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_mips64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_mips64le.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_mipsle.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_ppc64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_ppc64le.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_riscv64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_linux_s390x.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_netbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_netbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_netbsd_arm.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_netbsd_arm64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_openbsd_386.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_openbsd_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00
ztypes_openbsd_arm.go
ztypes_openbsd_arm64.go
ztypes_openbsd_mips64.go
ztypes_openbsd_ppc64.go syscall: add support for openbsd/ppc64 2023-08-22 03:24:15 +00:00
ztypes_openbsd_riscv64.go syscall: add syscall support for openbsd/riscv64 port 2023-10-04 02:55:38 +00:00
ztypes_solaris_amd64.go syscall: follow convention for generated code comment 2024-09-07 18:31:28 +00:00