OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
syscall
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:58 PM
rwxr-xr-x
📄
asan.go
410 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asan0.go
342 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm9_unix2_amd64.s
1.24 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_aix_ppc64.s
540 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_darwin_amd64.s
2.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_darwin_arm64.s
2.83 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_freebsd_arm.s
2.96 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_freebsd_arm64.s
2.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_386.s
3.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_amd64.s
1.31 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_arm.s
1.74 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_arm64.s
894 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_loong64.s
927 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_mips64x.s
892 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_mipsx.s
1.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_ppc64x.s
891 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_riscv64.s
843 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_linux_s390x.s
2.13 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_netbsd_amd64.s
1.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_netbsd_arm.s
2.85 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_netbsd_arm64.s
2.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_openbsd_386.s
1.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_openbsd_amd64.s
1.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_openbsd_arm.s
1.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_openbsd_arm64.s
1.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_openbsd_mips64.s
2.85 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_plan9_386.s
3.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_plan9_amd64.s
3.36 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_plan9_arm.s
3.25 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_solaris_amd64.s
1.73 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_unix_386.s
2.74 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
asm_unix_amd64.s
2.15 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
bpf_bsd.go
4.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
bpf_darwin.go
3.97 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
const_plan9.go
1.2 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
creds_test.go
3.37 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
dir_plan9.go
5.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
dirent.go
2.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
dirent_test.go
3.44 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
dll_windows.go
8.22 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
endian_big.go
249 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
endian_little.go
309 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
env_unix.go
2.85 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
env_windows.go
1.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
errors_plan9.go
1.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_aix_test.go
817 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_bsd.go
7.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_freebsd.go
7.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_libc.go
7.74 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_libc2.go
7.89 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_linux.go
18.39 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_linux_test.go
17.49 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_pdeathsig_test.go
3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_plan9.go
13.25 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_solaris_test.go
809 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_unix.go
8.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_unix_test.go
7.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_windows.go
11.34 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
exec_windows_test.go
3.1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_darwin_test.go
314 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_freebsd_test.go
304 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_linux_test.go
252 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_unix_test.go
347 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
export_windows_test.go
439 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
flock.go
704 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
flock_aix.go
564 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
flock_darwin.go
405 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
flock_linux_32bit.go
511 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
forkpipe.go
487 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
forkpipe2.go
307 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
fs_js.go
10.53 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
getdirentries_test.go
2.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
js
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
lsf_linux.go
2.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mkall.sh
13.19 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mkasm.go
1.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mkerrors.sh
10.67 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mkpost.go
1.98 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mksyscall.pl
9.94 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksyscall_libc.pl
7.96 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksyscall_windows.go
1.99 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mksysctl_openbsd.pl
5.04 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_dragonfly.pl
866 bytes
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_freebsd.pl
1.35 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_linux.pl
1.26 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_netbsd.pl
1.01 KB
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_openbsd.pl
872 bytes
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mksysnum_plan9.sh
459 bytes
12/01/2022 06:13:00 PM
rwxr-xr-x
📄
mmap_unix_test.go
563 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
msan.go
410 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
msan0.go
342 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
net.go
1.19 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
net_js.go
2.11 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netlink_linux.go
4.63 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
ptrace_darwin.go
381 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
ptrace_ios.go
368 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
pwd_plan9.go
1.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_bsd.go
9.1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_darwin.go
2.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_dragonfly.go
2.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_freebsd.go
2.67 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_freebsd_32bit.go
1.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_freebsd_64bit.go
738 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_netbsd.go
1.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
route_openbsd.go
1.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
security_windows.go
10.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
setuidgid_32_linux.go
435 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
setuidgid_linux.go
421 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sock_cloexec_linux.go
632 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sockcmsg_dragonfly.go
547 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sockcmsg_linux.go
1.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sockcmsg_unix.go
2.51 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sockcmsg_unix_other.go
1.08 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall.go
3.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_aix.go
17.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_aix_ppc64.go
405 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_bsd.go
13.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_bsd_test.go
1.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_darwin.go
11.24 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_darwin_amd64.go
1.92 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_darwin_arm64.go
1.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_dragonfly.go
8.57 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_dragonfly_amd64.go
1.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd.go
16.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd_386.go
1.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd_amd64.go
1.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd_arm.go
1.16 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd_arm64.go
1.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_freebsd_test.go
1.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_illumos.go
566 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_js.go
6.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux.go
33.47 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_386.go
9.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_amd64.go
4.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_arm.go
6.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_arm64.go
5.94 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_loong64.go
7 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_mips64x.go
5.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_mipsx.go
6.26 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_ppc64x.go
4.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_riscv64.go
5.63 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_s390x.go
7.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_linux_test.go
20.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_netbsd.go
7.82 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_netbsd_386.go
716 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_netbsd_amd64.go
709 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_netbsd_arm.go
716 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_netbsd_arm64.go
709 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd.go
6.92 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd1.go
609 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_386.go
715 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_amd64.go
701 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_arm.go
715 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_arm64.go
906 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_libc.go
3.49 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_openbsd_mips64.go
934 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_plan9.go
8.97 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_plan9_test.go
1.15 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_ptrace_test.go
768 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_solaris.go
15.47 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_solaris_amd64.go
487 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_test.go
1.44 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_unix.go
12.05 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_unix_test.go
9.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_windows.go
48.92 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_windows_test.go
3.38 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tables_js.go
19.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_fake.go
677 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_nofake.go
351 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
timestruct.go
944 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_aix.go
3.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_darwin.go
5.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_dragonfly.go
5.05 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_freebsd.go
6.96 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_illumos_amd64.go
379 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_linux.go
10.9 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_netbsd.go
4.77 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_openbsd.go
5.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_solaris.go
4.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_windows.go
27.71 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_windows_386.go
477 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_windows_amd64.go
477 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_windows_arm.go
477 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
types_windows_arm64.go
477 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_aix_ppc64.go
47.16 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_darwin_amd64.go
55.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_darwin_arm64.go
55.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_dragonfly_amd64.go
59.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_freebsd_386.go
67.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_freebsd_amd64.go
67.4 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_freebsd_arm.go
67.34 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_freebsd_arm64.go
67.41 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_386.go
58.31 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_amd64.go
58.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_arm.go
58.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_arm64.go
69.52 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_loong64.go
83.67 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_mips.go
70.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_mips64.go
69.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_mips64le.go
69.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_mipsle.go
70.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_ppc64.go
71.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_ppc64le.go
72.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_riscv64.go
71.76 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_linux_s390x.go
74.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_netbsd_386.go
67.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_netbsd_amd64.go
67.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_netbsd_arm.go
66.49 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_netbsd_arm64.go
67.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_openbsd_386.go
62.52 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_openbsd_amd64.go
62.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_openbsd_arm.go
62.47 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_openbsd_arm64.go
66.36 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_openbsd_mips64.go
66.66 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_solaris_amd64.go
50.72 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zerrors_windows.go
9.97 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_aix_ppc64.go
40.56 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_darwin_amd64.go
51.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_darwin_amd64.s
8.63 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_darwin_arm64.go
51.13 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_darwin_arm64.s
8.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_dragonfly_amd64.go
31.19 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_freebsd_386.go
33.56 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_freebsd_amd64.go
33.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_freebsd_arm.go
33.58 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_freebsd_arm64.go
33.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_386.go
34.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_amd64.go
38.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_arm.go
38.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_arm64.go
37.4 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_loong64.go
36.29 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_mips.go
39.78 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_mips64.go
39.78 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_mips64le.go
39.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_mipsle.go
39.78 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_ppc64.go
40.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_ppc64le.go
40.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_riscv64.go
37.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_linux_s390x.go
34.74 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zsyscall_netbsd_386.go
29.63 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_netbsd_amd64.go
29.48 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_netbsd_arm.go
29.63 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_netbsd_arm64.go
29.48 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_386.go
47.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_386.s
7.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_amd64.go
47.03 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_amd64.s
7.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_arm.go
47.19 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_arm.s
7.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_arm64.go
47.03 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_arm64.s
7.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_openbsd_mips64.go
30.33 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_plan9_386.go
6.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_plan9_amd64.go
6.18 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_plan9_arm.go
6.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_solaris_amd64.go
37.08 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsyscall_windows.go
56.68 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysctl_openbsd.go
11.71 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_darwin_amd64.go
14.55 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_darwin_arm64.go
14.39 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_dragonfly_amd64.go
22.94 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_freebsd_386.go
25.65 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_freebsd_amd64.go
25.65 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_freebsd_arm.go
25.65 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_freebsd_arm64.go
36.09 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_386.go
11.27 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_amd64.go
10.11 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_arm.go
11.55 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_arm64.go
8.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_loong64.go
10.28 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_mips.go
12.1 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_mips64.go
10.93 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_mips64le.go
10.93 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_mipsle.go
12.1 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_ppc64.go
11.47 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_ppc64le.go
11.49 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_riscv64.go
8.88 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_linux_s390x.go
10.64 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_netbsd_386.go
25.69 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_netbsd_amd64.go
25.69 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_netbsd_arm.go
25.69 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_netbsd_arm64.go
25.69 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_openbsd_386.go
14.16 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_openbsd_amd64.go
14.16 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_openbsd_arm.go
14.46 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_openbsd_arm64.go
14.72 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_openbsd_mips64.go
14.93 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_plan9.go
1.03 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
zsysnum_solaris_amd64.go
293 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_aix_ppc64.go
4.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_darwin_amd64.go
6.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_darwin_arm64.go
6.95 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_dragonfly_amd64.go
6.7 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_freebsd_386.go
9.01 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_freebsd_amd64.go
9.01 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_freebsd_arm.go
9.01 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_freebsd_arm64.go
9.01 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_386.go
11.55 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_amd64.go
11.92 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_arm.go
11.44 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_arm64.go
10.13 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_loong64.go
10.77 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_mips.go
9.93 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_mips64.go
10.05 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_mips64le.go
10.05 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_mipsle.go
9.93 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_ppc64.go
10.21 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_ppc64le.go
10.35 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_riscv64.go
10.2 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_linux_s390x.go
10.39 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_netbsd_386.go
5.99 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_netbsd_amd64.go
6.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_netbsd_arm.go
6.13 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_netbsd_arm64.go
6.17 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_openbsd_386.go
6.73 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_openbsd_amd64.go
6.89 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_openbsd_arm.go
6.84 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_openbsd_arm64.go
6.66 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_openbsd_mips64.go
6.66 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
ztypes_solaris_amd64.go
5.57 KB
12/01/2022 06:13:01 PM
rw-r--r--
Editing: exec_unix_test.go
Close
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package syscall_test import ( "internal/testenv" "io" "math/rand" "os" "os/exec" "os/signal" "syscall" "testing" "time" "unsafe" ) type command struct { pipe io.WriteCloser proc *exec.Cmd test *testing.T } func (c *command) Info() (pid, pgrp int) { pid = c.proc.Process.Pid pgrp, err := syscall.Getpgid(pid) if err != nil { c.test.Fatal(err) } return } func (c *command) Start() { if err := c.proc.Start(); err != nil { c.test.Fatal(err) } } func (c *command) Stop() { c.pipe.Close() if err := c.proc.Wait(); err != nil { c.test.Fatal(err) } } func create(t *testing.T) *command { testenv.MustHaveExec(t) proc := exec.Command("cat") stdin, err := proc.StdinPipe() if err != nil { t.Fatal(err) } return &command{stdin, proc, t} } func parent() (pid, pgrp int) { return syscall.Getpid(), syscall.Getpgrp() } func TestZeroSysProcAttr(t *testing.T) { ppid, ppgrp := parent() cmd := create(t) cmd.Start() defer cmd.Stop() cpid, cpgrp := cmd.Info() if cpid == ppid { t.Fatalf("Parent and child have the same process ID") } if cpgrp != ppgrp { t.Fatalf("Child is not in parent's process group") } } func TestSetpgid(t *testing.T) { ppid, ppgrp := parent() cmd := create(t) cmd.proc.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} cmd.Start() defer cmd.Stop() cpid, cpgrp := cmd.Info() if cpid == ppid { t.Fatalf("Parent and child have the same process ID") } if cpgrp == ppgrp { t.Fatalf("Parent and child are in the same process group") } if cpid != cpgrp { t.Fatalf("Child's process group is not the child's process ID") } } func TestPgid(t *testing.T) { ppid, ppgrp := parent() cmd1 := create(t) cmd1.proc.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} cmd1.Start() defer cmd1.Stop() cpid1, cpgrp1 := cmd1.Info() if cpid1 == ppid { t.Fatalf("Parent and child 1 have the same process ID") } if cpgrp1 == ppgrp { t.Fatalf("Parent and child 1 are in the same process group") } if cpid1 != cpgrp1 { t.Fatalf("Child 1's process group is not its process ID") } cmd2 := create(t) cmd2.proc.SysProcAttr = &syscall.SysProcAttr{ Setpgid: true, Pgid: cpgrp1, } cmd2.Start() defer cmd2.Stop() cpid2, cpgrp2 := cmd2.Info() if cpid2 == ppid { t.Fatalf("Parent and child 2 have the same process ID") } if cpgrp2 == ppgrp { t.Fatalf("Parent and child 2 are in the same process group") } if cpid2 == cpgrp2 { t.Fatalf("Child 2's process group is its process ID") } if cpid1 == cpid2 { t.Fatalf("Child 1 and 2 have the same process ID") } if cpgrp1 != cpgrp2 { t.Fatalf("Child 1 and 2 are not in the same process group") } } func TestForeground(t *testing.T) { signal.Ignore(syscall.SIGTTIN, syscall.SIGTTOU) defer signal.Reset() tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) if err != nil { t.Skipf("Can't test Foreground. Couldn't open /dev/tty: %s", err) } defer tty.Close() // This should really be pid_t, however _C_int (aka int32) is generally // equivalent. fpgrp := int32(0) errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp))) if errno != 0 { t.Fatalf("TIOCGPGRP failed with error code: %s", errno) } if fpgrp == 0 { t.Fatalf("Foreground process group is zero") } ppid, ppgrp := parent() cmd := create(t) cmd.proc.SysProcAttr = &syscall.SysProcAttr{ Ctty: int(tty.Fd()), Foreground: true, } cmd.Start() cpid, cpgrp := cmd.Info() if cpid == ppid { t.Fatalf("Parent and child have the same process ID") } if cpgrp == ppgrp { t.Fatalf("Parent and child are in the same process group") } if cpid != cpgrp { t.Fatalf("Child's process group is not the child's process ID") } cmd.Stop() // This call fails on darwin/arm64. The failure doesn't matter, though. // This is just best effort. syscall.Ioctl(tty.Fd(), syscall.TIOCSPGRP, uintptr(unsafe.Pointer(&fpgrp))) } func TestForegroundSignal(t *testing.T) { tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) if err != nil { t.Skipf("couldn't open /dev/tty: %s", err) } defer tty.Close() // This should really be pid_t, however _C_int (aka int32) is generally // equivalent. fpgrp := int32(0) errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp))) if errno != 0 { t.Fatalf("TIOCGPGRP failed with error code: %s", errno) } if fpgrp == 0 { t.Fatalf("Foreground process group is zero") } defer func() { signal.Ignore(syscall.SIGTTIN, syscall.SIGTTOU) syscall.Ioctl(tty.Fd(), syscall.TIOCSPGRP, uintptr(unsafe.Pointer(&fpgrp))) signal.Reset() }() ch1 := make(chan os.Signal, 1) ch2 := make(chan bool) signal.Notify(ch1, syscall.SIGTTIN, syscall.SIGTTOU) defer signal.Stop(ch1) cmd := create(t) go func() { cmd.proc.SysProcAttr = &syscall.SysProcAttr{ Ctty: int(tty.Fd()), Foreground: true, } cmd.Start() cmd.Stop() close(ch2) }() timer := time.NewTimer(30 * time.Second) defer timer.Stop() for { select { case sig := <-ch1: t.Errorf("unexpected signal %v", sig) case <-ch2: // Success. return case <-timer.C: t.Fatal("timed out waiting for child process") } } } // Test a couple of cases that SysProcAttr can't handle. Issue 29458. func TestInvalidExec(t *testing.T) { t.Parallel() t.Run("SetCtty-Foreground", func(t *testing.T) { t.Parallel() cmd := create(t) cmd.proc.SysProcAttr = &syscall.SysProcAttr{ Setctty: true, Foreground: true, Ctty: 0, } if err := cmd.proc.Start(); err == nil { t.Error("expected error setting both SetCtty and Foreground") } }) t.Run("invalid-Ctty", func(t *testing.T) { t.Parallel() cmd := create(t) cmd.proc.SysProcAttr = &syscall.SysProcAttr{ Setctty: true, Ctty: 3, } if err := cmd.proc.Start(); err == nil { t.Error("expected error with invalid Ctty value") } }) } // TestExec is for issue #41702. func TestExec(t *testing.T) { testenv.MustHaveExec(t) cmd := exec.Command(os.Args[0], "-test.run=TestExecHelper") cmd.Env = append(os.Environ(), "GO_WANT_HELPER_PROCESS=2") o, err := cmd.CombinedOutput() if err != nil { t.Errorf("%s\n%v", o, err) } } // TestExecHelper is used by TestExec. It does nothing by itself. // In testing on macOS 10.14, this used to fail with // "signal: illegal instruction" more than half the time. func TestExecHelper(t *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") != "2" { return } // We don't have to worry about restoring these values. // We are in a child process that only runs this test, // and we are going to call syscall.Exec anyhow. os.Setenv("GO_WANT_HELPER_PROCESS", "3") stop := time.Now().Add(time.Second) for i := 0; i < 100; i++ { go func(i int) { r := rand.New(rand.NewSource(int64(i))) for time.Now().Before(stop) { r.Uint64() } }(i) } time.Sleep(10 * time.Millisecond) argv := []string{os.Args[0], "-test.run=TestExecHelper"} syscall.Exec(os.Args[0], argv, os.Environ()) t.Error("syscall.Exec returned") }