X7ROOT File Manager
Current Path:
/opt/golang/1.19.4/src/syscall
opt
/
golang
/
1.19.4
/
src
/
syscall
/
📁
..
📄
asan.go
(410 B)
📄
asan0.go
(342 B)
📄
asm9_unix2_amd64.s
(1.24 KB)
📄
asm_aix_ppc64.s
(540 B)
📄
asm_darwin_amd64.s
(2.93 KB)
📄
asm_darwin_arm64.s
(2.83 KB)
📄
asm_freebsd_arm.s
(2.96 KB)
📄
asm_freebsd_arm64.s
(2.79 KB)
📄
asm_linux_386.s
(3.06 KB)
📄
asm_linux_amd64.s
(1.31 KB)
📄
asm_linux_arm.s
(1.74 KB)
📄
asm_linux_arm64.s
(894 B)
📄
asm_linux_loong64.s
(927 B)
📄
asm_linux_mips64x.s
(892 B)
📄
asm_linux_mipsx.s
(1.61 KB)
📄
asm_linux_ppc64x.s
(891 B)
📄
asm_linux_riscv64.s
(843 B)
📄
asm_linux_s390x.s
(2.13 KB)
📄
asm_netbsd_amd64.s
(1.02 KB)
📄
asm_netbsd_arm.s
(2.85 KB)
📄
asm_netbsd_arm64.s
(2.88 KB)
📄
asm_openbsd_386.s
(1.04 KB)
📄
asm_openbsd_amd64.s
(1.04 KB)
📄
asm_openbsd_arm.s
(1.04 KB)
📄
asm_openbsd_arm64.s
(1.04 KB)
📄
asm_openbsd_mips64.s
(2.85 KB)
📄
asm_plan9_386.s
(3.14 KB)
📄
asm_plan9_amd64.s
(3.36 KB)
📄
asm_plan9_arm.s
(3.25 KB)
📄
asm_solaris_amd64.s
(1.73 KB)
📄
asm_unix_386.s
(2.74 KB)
📄
asm_unix_amd64.s
(2.15 KB)
📄
bpf_bsd.go
(4.62 KB)
📄
bpf_darwin.go
(3.97 KB)
📄
const_plan9.go
(1.2 KB)
📄
creds_test.go
(3.37 KB)
📄
dir_plan9.go
(5.62 KB)
📄
dirent.go
(2.95 KB)
📄
dirent_test.go
(3.44 KB)
📄
dll_windows.go
(8.22 KB)
📄
endian_big.go
(249 B)
📄
endian_little.go
(309 B)
📄
env_unix.go
(2.85 KB)
📄
env_windows.go
(1.75 KB)
📄
errors_plan9.go
(1.61 KB)
📄
exec_aix_test.go
(817 B)
📄
exec_bsd.go
(7.42 KB)
📄
exec_freebsd.go
(7.79 KB)
📄
exec_libc.go
(7.74 KB)
📄
exec_libc2.go
(7.89 KB)
📄
exec_linux.go
(18.39 KB)
📄
exec_linux_test.go
(17.49 KB)
📄
exec_pdeathsig_test.go
(3 KB)
📄
exec_plan9.go
(13.25 KB)
📄
exec_solaris_test.go
(809 B)
📄
exec_unix.go
(8.75 KB)
📄
exec_unix_test.go
(7.03 KB)
📄
exec_windows.go
(11.34 KB)
📄
exec_windows_test.go
(3.1 KB)
📄
export_darwin_test.go
(314 B)
📄
export_freebsd_test.go
(304 B)
📄
export_linux_test.go
(252 B)
📄
export_unix_test.go
(347 B)
📄
export_windows_test.go
(439 B)
📄
flock.go
(704 B)
📄
flock_aix.go
(564 B)
📄
flock_darwin.go
(405 B)
📄
flock_linux_32bit.go
(511 B)
📄
forkpipe.go
(487 B)
📄
forkpipe2.go
(307 B)
📄
fs_js.go
(10.53 KB)
📄
getdirentries_test.go
(2.07 KB)
📁
js
📄
lsf_linux.go
(2.12 KB)
📄
mkall.sh
(13.19 KB)
📄
mkasm.go
(1.75 KB)
📄
mkerrors.sh
(10.67 KB)
📄
mkpost.go
(1.98 KB)
📄
mksyscall.pl
(9.94 KB)
📄
mksyscall_libc.pl
(7.96 KB)
📄
mksyscall_windows.go
(1.99 KB)
📄
mksysctl_openbsd.pl
(5.04 KB)
📄
mksysnum_dragonfly.pl
(866 B)
📄
mksysnum_freebsd.pl
(1.35 KB)
📄
mksysnum_linux.pl
(1.26 KB)
📄
mksysnum_netbsd.pl
(1.01 KB)
📄
mksysnum_openbsd.pl
(872 B)
📄
mksysnum_plan9.sh
(459 B)
📄
mmap_unix_test.go
(563 B)
📄
msan.go
(410 B)
📄
msan0.go
(342 B)
📄
net.go
(1.19 KB)
📄
net_js.go
(2.11 KB)
📄
netlink_linux.go
(4.63 KB)
📄
ptrace_darwin.go
(381 B)
📄
ptrace_ios.go
(368 B)
📄
pwd_plan9.go
(1.55 KB)
📄
route_bsd.go
(9.1 KB)
📄
route_darwin.go
(2.01 KB)
📄
route_dragonfly.go
(2.61 KB)
📄
route_freebsd.go
(2.67 KB)
📄
route_freebsd_32bit.go
(1.3 KB)
📄
route_freebsd_64bit.go
(738 B)
📄
route_netbsd.go
(1.43 KB)
📄
route_openbsd.go
(1.46 KB)
📄
security_windows.go
(10.12 KB)
📄
setuidgid_32_linux.go
(435 B)
📄
setuidgid_linux.go
(421 B)
📄
sock_cloexec_linux.go
(632 B)
📄
sockcmsg_dragonfly.go
(547 B)
📄
sockcmsg_linux.go
(1.12 KB)
📄
sockcmsg_unix.go
(2.51 KB)
📄
sockcmsg_unix_other.go
(1.08 KB)
📄
syscall.go
(3.62 KB)
📄
syscall_aix.go
(17.88 KB)
📄
syscall_aix_ppc64.go
(405 B)
📄
syscall_bsd.go
(13.55 KB)
📄
syscall_bsd_test.go
(1.17 KB)
📄
syscall_darwin.go
(11.24 KB)
📄
syscall_darwin_amd64.go
(1.92 KB)
📄
syscall_darwin_arm64.go
(1.84 KB)
📄
syscall_dragonfly.go
(8.57 KB)
📄
syscall_dragonfly_amd64.go
(1.12 KB)
📄
syscall_freebsd.go
(16.02 KB)
📄
syscall_freebsd_386.go
(1.17 KB)
📄
syscall_freebsd_amd64.go
(1.12 KB)
📄
syscall_freebsd_arm.go
(1.16 KB)
📄
syscall_freebsd_arm64.go
(1.12 KB)
📄
syscall_freebsd_test.go
(1.55 KB)
📄
syscall_illumos.go
(566 B)
📄
syscall_js.go
(6.62 KB)
📄
syscall_linux.go
(33.47 KB)
📄
syscall_linux_386.go
(9.75 KB)
📄
syscall_linux_amd64.go
(4.61 KB)
📄
syscall_linux_arm.go
(6.46 KB)
📄
syscall_linux_arm64.go
(5.94 KB)
📄
syscall_linux_loong64.go
(7 KB)
📄
syscall_linux_mips64x.go
(5.8 KB)
📄
syscall_linux_mipsx.go
(6.26 KB)
📄
syscall_linux_ppc64x.go
(4.46 KB)
📄
syscall_linux_riscv64.go
(5.63 KB)
📄
syscall_linux_s390x.go
(7.75 KB)
📄
syscall_linux_test.go
(20.17 KB)
📄
syscall_netbsd.go
(7.82 KB)
📄
syscall_netbsd_386.go
(716 B)
📄
syscall_netbsd_amd64.go
(709 B)
📄
syscall_netbsd_arm.go
(716 B)
📄
syscall_netbsd_arm64.go
(709 B)
📄
syscall_openbsd.go
(6.92 KB)
📄
syscall_openbsd1.go
(609 B)
📄
syscall_openbsd_386.go
(715 B)
📄
syscall_openbsd_amd64.go
(701 B)
📄
syscall_openbsd_arm.go
(715 B)
📄
syscall_openbsd_arm64.go
(906 B)
📄
syscall_openbsd_libc.go
(3.49 KB)
📄
syscall_openbsd_mips64.go
(934 B)
📄
syscall_plan9.go
(8.97 KB)
📄
syscall_plan9_test.go
(1.15 KB)
📄
syscall_ptrace_test.go
(768 B)
📄
syscall_solaris.go
(15.47 KB)
📄
syscall_solaris_amd64.go
(487 B)
📄
syscall_test.go
(1.44 KB)
📄
syscall_unix.go
(12.05 KB)
📄
syscall_unix_test.go
(9.43 KB)
📄
syscall_windows.go
(48.92 KB)
📄
syscall_windows_test.go
(3.38 KB)
📄
tables_js.go
(19.17 KB)
📄
time_fake.go
(677 B)
📄
time_nofake.go
(351 B)
📄
timestruct.go
(944 B)
📄
types_aix.go
(3.35 KB)
📄
types_darwin.go
(5.03 KB)
📄
types_dragonfly.go
(5.05 KB)
📄
types_freebsd.go
(6.96 KB)
📄
types_illumos_amd64.go
(379 B)
📄
types_linux.go
(10.9 KB)
📄
types_netbsd.go
(4.77 KB)
📄
types_openbsd.go
(5.04 KB)
📄
types_solaris.go
(4.88 KB)
📄
types_windows.go
(27.71 KB)
📄
types_windows_386.go
(477 B)
📄
types_windows_amd64.go
(477 B)
📄
types_windows_arm.go
(477 B)
📄
types_windows_arm64.go
(477 B)
📄
zerrors_aix_ppc64.go
(47.16 KB)
📄
zerrors_darwin_amd64.go
(55.28 KB)
📄
zerrors_darwin_arm64.go
(55.79 KB)
📄
zerrors_dragonfly_amd64.go
(59.62 KB)
📄
zerrors_freebsd_386.go
(67.35 KB)
📄
zerrors_freebsd_amd64.go
(67.4 KB)
📄
zerrors_freebsd_arm.go
(67.34 KB)
📄
zerrors_freebsd_arm64.go
(67.41 KB)
📄
zerrors_linux_386.go
(58.31 KB)
📄
zerrors_linux_amd64.go
(58.35 KB)
📄
zerrors_linux_arm.go
(58.84 KB)
📄
zerrors_linux_arm64.go
(69.52 KB)
📄
zerrors_linux_loong64.go
(83.67 KB)
📄
zerrors_linux_mips.go
(70.14 KB)
📄
zerrors_linux_mips64.go
(69.46 KB)
📄
zerrors_linux_mips64le.go
(69.46 KB)
📄
zerrors_linux_mipsle.go
(70.14 KB)
📄
zerrors_linux_ppc64.go
(71.84 KB)
📄
zerrors_linux_ppc64le.go
(72.8 KB)
📄
zerrors_linux_riscv64.go
(71.76 KB)
📄
zerrors_linux_s390x.go
(74.28 KB)
📄
zerrors_netbsd_386.go
(67.48 KB)
📄
zerrors_netbsd_amd64.go
(67.07 KB)
📄
zerrors_netbsd_arm.go
(66.49 KB)
📄
zerrors_netbsd_arm64.go
(67.07 KB)
📄
zerrors_openbsd_386.go
(62.52 KB)
📄
zerrors_openbsd_amd64.go
(62.48 KB)
📄
zerrors_openbsd_arm.go
(62.47 KB)
📄
zerrors_openbsd_arm64.go
(66.36 KB)
📄
zerrors_openbsd_mips64.go
(66.66 KB)
📄
zerrors_solaris_amd64.go
(50.72 KB)
📄
zerrors_windows.go
(9.97 KB)
📄
zsyscall_aix_ppc64.go
(40.56 KB)
📄
zsyscall_darwin_amd64.go
(51.17 KB)
📄
zsyscall_darwin_amd64.s
(8.63 KB)
📄
zsyscall_darwin_arm64.go
(51.13 KB)
📄
zsyscall_darwin_arm64.s
(8.61 KB)
📄
zsyscall_dragonfly_amd64.go
(31.19 KB)
📄
zsyscall_freebsd_386.go
(33.56 KB)
📄
zsyscall_freebsd_amd64.go
(33.42 KB)
📄
zsyscall_freebsd_arm.go
(33.58 KB)
📄
zsyscall_freebsd_arm64.go
(33.42 KB)
📄
zsyscall_linux_386.go
(34.12 KB)
📄
zsyscall_linux_amd64.go
(38.93 KB)
📄
zsyscall_linux_arm.go
(38.03 KB)
📄
zsyscall_linux_arm64.go
(37.4 KB)
📄
zsyscall_linux_loong64.go
(36.29 KB)
📄
zsyscall_linux_mips.go
(39.78 KB)
📄
zsyscall_linux_mips64.go
(39.78 KB)
📄
zsyscall_linux_mips64le.go
(39.79 KB)
📄
zsyscall_linux_mipsle.go
(39.78 KB)
📄
zsyscall_linux_ppc64.go
(40.42 KB)
📄
zsyscall_linux_ppc64le.go
(40.43 KB)
📄
zsyscall_linux_riscv64.go
(37.43 KB)
📄
zsyscall_linux_s390x.go
(34.74 KB)
📄
zsyscall_netbsd_386.go
(29.63 KB)
📄
zsyscall_netbsd_amd64.go
(29.48 KB)
📄
zsyscall_netbsd_arm.go
(29.63 KB)
📄
zsyscall_netbsd_arm64.go
(29.48 KB)
📄
zsyscall_openbsd_386.go
(47.17 KB)
📄
zsyscall_openbsd_386.s
(7.95 KB)
📄
zsyscall_openbsd_amd64.go
(47.03 KB)
📄
zsyscall_openbsd_amd64.s
(7.95 KB)
📄
zsyscall_openbsd_arm.go
(47.19 KB)
📄
zsyscall_openbsd_arm.s
(7.95 KB)
📄
zsyscall_openbsd_arm64.go
(47.03 KB)
📄
zsyscall_openbsd_arm64.s
(7.95 KB)
📄
zsyscall_openbsd_mips64.go
(30.33 KB)
📄
zsyscall_plan9_386.go
(6.17 KB)
📄
zsyscall_plan9_amd64.go
(6.18 KB)
📄
zsyscall_plan9_arm.go
(6.17 KB)
📄
zsyscall_solaris_amd64.go
(37.08 KB)
📄
zsyscall_windows.go
(56.68 KB)
📄
zsysctl_openbsd.go
(11.71 KB)
📄
zsysnum_darwin_amd64.go
(14.55 KB)
📄
zsysnum_darwin_arm64.go
(14.39 KB)
📄
zsysnum_dragonfly_amd64.go
(22.94 KB)
📄
zsysnum_freebsd_386.go
(25.65 KB)
📄
zsysnum_freebsd_amd64.go
(25.65 KB)
📄
zsysnum_freebsd_arm.go
(25.65 KB)
📄
zsysnum_freebsd_arm64.go
(36.09 KB)
📄
zsysnum_linux_386.go
(11.27 KB)
📄
zsysnum_linux_amd64.go
(10.11 KB)
📄
zsysnum_linux_arm.go
(11.55 KB)
📄
zsysnum_linux_arm64.go
(8.95 KB)
📄
zsysnum_linux_loong64.go
(10.28 KB)
📄
zsysnum_linux_mips.go
(12.1 KB)
📄
zsysnum_linux_mips64.go
(10.93 KB)
📄
zsysnum_linux_mips64le.go
(10.93 KB)
📄
zsysnum_linux_mipsle.go
(12.1 KB)
📄
zsysnum_linux_ppc64.go
(11.47 KB)
📄
zsysnum_linux_ppc64le.go
(11.49 KB)
📄
zsysnum_linux_riscv64.go
(8.88 KB)
📄
zsysnum_linux_s390x.go
(10.64 KB)
📄
zsysnum_netbsd_386.go
(25.69 KB)
📄
zsysnum_netbsd_amd64.go
(25.69 KB)
📄
zsysnum_netbsd_arm.go
(25.69 KB)
📄
zsysnum_netbsd_arm64.go
(25.69 KB)
📄
zsysnum_openbsd_386.go
(14.16 KB)
📄
zsysnum_openbsd_amd64.go
(14.16 KB)
📄
zsysnum_openbsd_arm.go
(14.46 KB)
📄
zsysnum_openbsd_arm64.go
(14.72 KB)
📄
zsysnum_openbsd_mips64.go
(14.93 KB)
📄
zsysnum_plan9.go
(1.03 KB)
📄
zsysnum_solaris_amd64.go
(293 B)
📄
ztypes_aix_ppc64.go
(4.17 KB)
📄
ztypes_darwin_amd64.go
(6.95 KB)
📄
ztypes_darwin_arm64.go
(6.95 KB)
📄
ztypes_dragonfly_amd64.go
(6.7 KB)
📄
ztypes_freebsd_386.go
(9.01 KB)
📄
ztypes_freebsd_amd64.go
(9.01 KB)
📄
ztypes_freebsd_arm.go
(9.01 KB)
📄
ztypes_freebsd_arm64.go
(9.01 KB)
📄
ztypes_linux_386.go
(11.55 KB)
📄
ztypes_linux_amd64.go
(11.92 KB)
📄
ztypes_linux_arm.go
(11.44 KB)
📄
ztypes_linux_arm64.go
(10.13 KB)
📄
ztypes_linux_loong64.go
(10.77 KB)
📄
ztypes_linux_mips.go
(9.93 KB)
📄
ztypes_linux_mips64.go
(10.05 KB)
📄
ztypes_linux_mips64le.go
(10.05 KB)
📄
ztypes_linux_mipsle.go
(9.93 KB)
📄
ztypes_linux_ppc64.go
(10.21 KB)
📄
ztypes_linux_ppc64le.go
(10.35 KB)
📄
ztypes_linux_riscv64.go
(10.2 KB)
📄
ztypes_linux_s390x.go
(10.39 KB)
📄
ztypes_netbsd_386.go
(5.99 KB)
📄
ztypes_netbsd_amd64.go
(6.17 KB)
📄
ztypes_netbsd_arm.go
(6.13 KB)
📄
ztypes_netbsd_arm64.go
(6.17 KB)
📄
ztypes_openbsd_386.go
(6.73 KB)
📄
ztypes_openbsd_amd64.go
(6.89 KB)
📄
ztypes_openbsd_arm.go
(6.84 KB)
📄
ztypes_openbsd_arm64.go
(6.66 KB)
📄
ztypes_openbsd_mips64.go
(6.66 KB)
📄
ztypes_solaris_amd64.go
(5.57 KB)
Editing: syscall_linux_mips64x.go
// Copyright 2009 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 linux && (mips64 || mips64le) package syscall const _SYS_setgroups = SYS_SETGROUPS //sys Dup2(oldfd int, newfd int) (err error) //sysnb EpollCreate(size int) (fd int, err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Fstatfs(fd int, buf *Statfs_t) (err error) //sys fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT //sys Ftruncate(fd int, length int64) (err error) //sysnb Getegid() (egid int) //sysnb Geteuid() (euid int) //sysnb Getgid() (gid int) //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) //sysnb Getuid() (uid int) //sysnb InotifyInit() (fd int, err error) //sys Lchown(path string, uid int, gid int) (err error) //sys Listen(s int, n int) (err error) //sys Pause() (err error) //sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 //sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) //sys Setfsgid(gid int) (err error) //sys Setfsuid(uid int) (err error) //sysnb Setrlimit(resource int, rlim *Rlimit) (err error) //sys Shutdown(fd int, how int) (err error) //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) //sys Statfs(path string, buf *Statfs_t) (err error) //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) //sys Truncate(path string, length int64) (err error) //sys Ustat(dev int, ubuf *Ustat_t) (err error) //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) //sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) //sysnb getgroups(n int, list *_Gid_t) (nn int, err error) //sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) //sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) //sysnb socket(domain int, typ int, proto int) (fd int, err error) //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) //sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) //sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) //sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) //sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) type sigset_t struct { X__val [16]uint64 } //sys pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_t) (n int, err error) = SYS_PSELECT6 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { var ts *Timespec if timeout != nil { ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} } return pselect(nfd, r, w, e, ts, nil) } //sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval err = Gettimeofday(&tv) if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } //sys Utime(path string, buf *Utimbuf) (err error) //sys utimes(path string, times *[2]Timeval) (err error) func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: usec} } func Ioperm(from int, num int, on int) (err error) { return ENOSYS } func Iopl(level int) (err error) { return ENOSYS } type stat_t struct { Dev uint32 Pad0 [3]int32 Ino uint64 Mode uint32 Nlink uint32 Uid uint32 Gid uint32 Rdev uint32 Pad1 [3]uint32 Size int64 Atime uint32 Atime_nsec uint32 Mtime uint32 Mtime_nsec uint32 Ctime uint32 Ctime_nsec uint32 Blksize uint32 Pad2 uint32 Blocks int64 } //sys fstat(fd int, st *stat_t) (err error) //sys lstat(path string, st *stat_t) (err error) //sys stat(path string, st *stat_t) (err error) func Fstat(fd int, s *Stat_t) (err error) { st := &stat_t{} err = fstat(fd, st) fillStat_t(s, st) return } func Lstat(path string, s *Stat_t) (err error) { st := &stat_t{} err = lstat(path, st) fillStat_t(s, st) return } func Stat(path string, s *Stat_t) (err error) { st := &stat_t{} err = stat(path, st) fillStat_t(s, st) return } func fillStat_t(s *Stat_t, st *stat_t) { s.Dev = st.Dev s.Ino = st.Ino s.Mode = st.Mode s.Nlink = st.Nlink s.Uid = st.Uid s.Gid = st.Gid s.Rdev = st.Rdev s.Size = st.Size s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)} s.Mtim = Timespec{int64(st.Mtime), int64(st.Mtime_nsec)} s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)} s.Blksize = st.Blksize s.Blocks = st.Blocks } func (r *PtraceRegs) PC() uint64 { return r.Regs[64] } func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint64(length) } func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint64(length) } func rawVforkSyscall(trap, a1 uintptr) (r1 uintptr, err Errno)
Upload File
Create Folder