func runtime_entersyscall()
func runtime_exitsyscall()
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { … }
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) { … }
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { … }
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) { … }
func rawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1 uintptr, err Errno)
func Access(path string, mode uint32) (err error) { … }
func Chmod(path string, mode uint32) (err error) { … }
func Chown(path string, uid int, gid int) (err error) { … }
func Creat(path string, mode uint32) (fd int, err error) { … }
func EpollCreate(size int) (fd int, err error) { … }
func isGroupMember(gid int) bool { … }
func isCapDacOverrideSet() bool { … }
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { … }
func Fchmodat(dirfd int, path string, mode uint32, flags int) error { … }
func Link(oldpath string, newpath string) (err error) { … }
func Mkdir(path string, mode uint32) (err error) { … }
func Mknod(path string, mode uint32, dev int) (err error) { … }
func Open(path string, mode int, perm uint32) (fd int, err error) { … }
func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { … }
func Pipe(p []int) error { … }
func Pipe2(p []int, flags int) error { … }
func Readlink(path string, buf []byte) (n int, err error) { … }
func Rename(oldpath string, newpath string) (err error) { … }
func Rmdir(path string) error { … }
func Symlink(oldpath string, newpath string) (err error) { … }
func Unlink(path string) error { … }
func Unlinkat(dirfd int, path string) error { … }
func Utimes(path string, tv []Timeval) (err error) { … }
func UtimesNano(path string, ts []Timespec) (err error) { … }
func Futimesat(dirfd int, path string, tv []Timeval) (err error) { … }
func Futimes(fd int, tv []Timeval) (err error) { … }
const ImplementsGetwd …
func Getwd() (wd string, err error) { … }
func Getgroups() (gids []int, err error) { … }
var cgo_libc_setgroups …
func Setgroups(gids []int) (err error) { … }
type WaitStatus …
const mask …
const core …
const exited …
const stopped …
const shift …
func (w WaitStatus) Exited() bool { … }
func (w WaitStatus) Signaled() bool { … }
func (w WaitStatus) Stopped() bool { … }
func (w WaitStatus) Continued() bool { … }
func (w WaitStatus) CoreDump() bool { … }
func (w WaitStatus) ExitStatus() int { … }
func (w WaitStatus) Signal() Signal { … }
func (w WaitStatus) StopSignal() Signal { … }
func (w WaitStatus) TrapCause() int { … }
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) { … }
func Mkfifo(path string, mode uint32) (err error) { … }
func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrLinklayer …
func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrNetlink …
func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) { … }
func Accept(fd int) (nfd int, sa Sockaddr, err error) { … }
func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) { … }
func Getsockname(fd int) (sa Sockaddr, err error) { … }
func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) { … }
func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) { … }
func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) { … }
func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) { … }
func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) { … }
func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) { … }
func GetsockoptUcred(fd, level, opt int) (*Ucred, error) { … }
func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) { … }
func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { … }
func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { … }
func BindToDevice(fd int, device string) (err error) { … }
func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err error) { … }
func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) { … }
func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) { … }
func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (count int, err error) { … }
func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) { … }
func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) { … }
const _NT_PRSTATUS …
func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) { … }
func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) { … }
func PtraceSetOptions(pid int, options int) (err error) { … }
func PtraceGetEventMsg(pid int) (msg uint, err error) { … }
func PtraceCont(pid int, signal int) (err error) { … }
func PtraceSyscall(pid int, signal int) (err error) { … }
func PtraceSingleStep(pid int) (err error) { … }
func PtraceAttach(pid int) (err error) { … }
func PtraceDetach(pid int) (err error) { … }
func Reboot(cmd int) (err error) { … }
func ReadDirent(fd int, buf []byte) (n int, err error) { … }
func direntIno(buf []byte) (uint64, bool) { … }
func direntReclen(buf []byte) (uint64, bool) { … }
func direntNamlen(buf []byte) (uint64, bool) { … }
func Mount(source string, target string, fstype string, flags uintptr, data string) (err error) { … }
func Getpgrp() (pid int) { … }
func runtime_doAllThreadsSyscall(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
func AllThreadsSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { … }
func AllThreadsSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) { … }
func cgocaller(unsafe.Pointer, ...uintptr) uintptr
var cgo_libc_setegid …
const minus1 …
func Setegid(egid int) (err error) { … }
var cgo_libc_seteuid …
func Seteuid(euid int) (err error) { … }
var cgo_libc_setgid …
func Setgid(gid int) (err error) { … }
var cgo_libc_setregid …
func Setregid(rgid, egid int) (err error) { … }
var cgo_libc_setresgid …
func Setresgid(rgid, egid, sgid int) (err error) { … }
var cgo_libc_setresuid …
func Setresuid(ruid, euid, suid int) (err error) { … }
var cgo_libc_setreuid …
func Setreuid(ruid, euid int) (err error) { … }
var cgo_libc_setuid …
func Setuid(uid int) (err error) { … }
var mapper …
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) { … }
func Munmap(b []byte) (err error) { … }
func Getrlimit(resource int, rlim *Rlimit) (err error) { … }
func setrlimit(resource int, rlim *Rlimit) (err error) { … }
func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { … }