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 FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error) { … }
func Fchmodat(dirfd int, path string, mode uint32, flags int) error { … }
func InotifyInit() (fd int, err 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 Openat2(dirfd int, path string, how *OpenHow) (fd int, err error) { … }
func Pipe(p []int) error { … }
func Pipe2(p []int, flags int) error { … }
func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { … }
func Poll(fds []PollFd, timeout int) (n int, err 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 Utimes(path string, tv []Timeval) error { … }
func UtimesNano(path string, ts []Timespec) error { … }
func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { … }
func Futimesat(dirfd int, path string, tv []Timeval) error { … }
func Futimes(fd int, tv []Timeval) (err error) { … }
const ImplementsGetwd …
func Getwd() (wd string, err error) { … }
func Getgroups() (gids []int, err error) { … }
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() syscall.Signal { … }
func (w WaitStatus) StopSignal() syscall.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) error { … }
func Mkfifoat(dirfd int, path string, mode uint32) 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) { … }
type SockaddrHCI …
func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrL2 …
func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrRFCOMM …
func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrCAN …
func (sa *SockaddrCAN) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrCANJ1939 …
func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrALG …
func (sa *SockaddrALG) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrVM …
func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrXDP …
func (sa *SockaddrXDP) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
const px_proto_oe …
type SockaddrPPPoE …
func (sa *SockaddrPPPoE) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrTIPC …
type TIPCAddr …
func (sa *TIPCSocketAddr) tipcAddr() [12]byte { … }
func (sa *TIPCSocketAddr) tipcAddrtype() uint8 { … }
func (sa *TIPCServiceRange) tipcAddr() [12]byte { … }
func (sa *TIPCServiceRange) tipcAddrtype() uint8 { … }
func (sa *TIPCServiceName) tipcAddr() [12]byte { … }
func (sa *TIPCServiceName) tipcAddrtype() uint8 { … }
func (sa *SockaddrTIPC) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrL2TPIP …
func (sa *SockaddrL2TPIP) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrL2TPIP6 …
func (sa *SockaddrL2TPIP6) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrIUCV …
func (sa *SockaddrIUCV) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrNFC …
func (sa *SockaddrNFC) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
type SockaddrNFCLLCP …
func (sa *SockaddrNFCLLCP) sockaddr() (unsafe.Pointer, _Socklen, error) { … }
var socketProtocol …
func anyToSockaddr(fd int, 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 GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) { … }
func GetsockoptUcred(fd, level, opt int) (*Ucred, error) { … }
func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) { … }
func GetsockoptTCPCCVegasInfo(fd, level, opt int) (*TCPVegasInfo, error) { … }
func GetsockoptTCPCCDCTCPInfo(fd, level, opt int) (*TCPDCTCPInfo, error) { … }
func GetsockoptTCPCCBBRInfo(fd, level, opt int) (*TCPBBRInfo, error) { … }
func GetsockoptString(fd, level, opt int) (string, error) { … }
func GetsockoptTpacketStats(fd, level, opt int) (*TpacketStats, error) { … }
func GetsockoptTpacketStatsV3(fd, level, opt int) (*TpacketStatsV3, error) { … }
func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) { … }
func SetsockoptPacketMreq(fd, level, opt int, mreq *PacketMreq) error { … }
func SetsockoptSockFprog(fd, level, opt int, fprog *SockFprog) error { … }
func SetsockoptCanRawFilter(fd, level, opt int, filter []CanFilter) error { … }
func SetsockoptTpacketReq(fd, level, opt int, tp *TpacketReq) error { … }
func SetsockoptTpacketReq3(fd, level, opt int, tp *TpacketReq3) error { … }
func SetsockoptTCPRepairOpt(fd, level, opt int, o []TCPRepairOpt) (err error) { … }
func SetsockoptTCPMD5Sig(fd, level, opt int, s *TCPMD5Sig) error { … }
func KeyctlString(cmd int, id int) (string, error) { … }
func KeyctlGetKeyringID(id int, create bool) (ringid int, err error) { … }
func KeyctlSetperm(id int, perm uint32) error { … }
func KeyctlJoinSessionKeyring(name string) (ringid int, err error) { … }
func KeyctlSearch(ringid int, keyType, description string, destRingid int) (id int, err error) { … }
func KeyctlInstantiateIOV(id int, payload []Iovec, ringid int) error { … }
func KeyctlDHCompute(params *KeyctlDHParams, buffer []byte) (size int, err error) { … }
func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error { … }
func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { … }
func sendmsgN(fd int, iov []Iovec, 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 PtracePeekUser(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) { … }
func PtracePokeUser(pid int, addr uintptr, data []byte) (count int, err error) { … }
const elfNT_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 PtraceInterrupt(pid int) (err error) { … }
func PtraceAttach(pid int) (err error) { … }
func PtraceSeize(pid int) (err error) { … }
func PtraceDetach(pid int) (err error) { … }
func Reboot(cmd 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 MountSetattr(dirfd int, pathname string, flags uint, attr *MountAttr) error { … }
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { … }
func Dup2(oldfd, newfd int) error { … }
func fsconfigCommon(fd int, cmd uint, key string, value *byte, aux int) (err error) { … }
func FsconfigSetFlag(fd int, key string) (err error) { … }
func FsconfigSetString(fd int, key string, value string) (err error) { … }
func FsconfigSetBinary(fd int, key string, value []byte) (err error) { … }
func FsconfigSetPath(fd int, key string, path string, atfd int) (err error) { … }
func FsconfigSetPathEmpty(fd int, key string, path string, atfd int) (err error) { … }
func FsconfigSetFd(fd int, key string, value int) (err error) { … }
func FsconfigCreate(fd int) (err error) { … }
func FsconfigReconfigure(fd int) (err error) { … }
func Getpgrp() (pid int) { … }
func Getrandom(buf []byte, flags int) (n int, err error) { … }
func syscall_prlimit(pid, resource int, newlimit, old *syscall.Rlimit) error
func Prlimit(pid, resource int, newlimit, old *Rlimit) error { … }
func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (int, error) { … }
func Setuid(uid int) (err error) { … }
func Setgid(gid int) (err error) { … }
func Setreuid(ruid, euid int) (err error) { … }
func Setregid(rgid, egid int) (err error) { … }
func Setresuid(ruid, euid, suid int) (err error) { … }
func Setresgid(rgid, egid, sgid int) (err error) { … }
func SetfsgidRetGid(gid int) (int, error) { … }
func SetfsuidRetUid(uid int) (int, error) { … }
func Setfsgid(gid int) error { … }
func Setfsuid(uid int) error { … }
func Signalfd(fd int, sigmask *Sigset_t, flags int) (newfd int, err error) { … }
const minIovec …
func appendBytes(vecs []Iovec, bs [][]byte) []Iovec { … }
func offs2lohi(offs int64) (lo, hi uintptr) { … }
func Readv(fd int, iovs [][]byte) (n int, err error) { … }
func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) { … }
func Preadv2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) { … }
func readvRacedetect(iovecs []Iovec, n int, err error) { … }
func Writev(fd int, iovs [][]byte) (n int, err error) { … }
func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) { … }
func Pwritev2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) { … }
func writevRacedetect(iovecs []Iovec, n int) { … }
const mremapFixed …
const mremapDontunmap …
const mremapMaymove …
func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) { … }
func isGroupMember(gid int) bool { … }
func isCapDacOverrideSet() bool { … }
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { … }
type fileHandle …
type FileHandle …
func NewFileHandle(handleType int32, handle []byte) FileHandle { … }
func (fh *FileHandle) Size() int { … }
func (fh *FileHandle) Type() int32 { … }
func (fh *FileHandle) Bytes() []byte { … }
func NameToHandleAt(dirfd int, path string, flags int) (handle FileHandle, mountID int, err error) { … }
func OpenByHandleAt(mountFD int, handle FileHandle, flags int) (fd int, err error) { … }
func Klogset(typ int, arg int) (err error) { … }
type RemoteIovec …
func MakeItimerval(interval, value time.Duration) Itimerval { … }
type ItimerWhich …
const ItimerReal …
const ItimerVirtual …
const ItimerProf …
func Getitimer(which ItimerWhich) (Itimerval, error) { … }
func Setitimer(which ItimerWhich, it Itimerval) (Itimerval, error) { … }
func PthreadSigmask(how int, set, oldset *Sigset_t) error { … }
func Getresuid() (ruid, euid, suid int) { … }
func Getresgid() (rgid, egid, sgid int) { … }
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { … }
func SchedSetAttr(pid int, attr *SchedAttr, flags uint) error { … }
func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) { … }