package linux

import "github.com/opencontainers/runc/internal/linux"

Index

Functions

func Dup3

func Dup3(oldfd, newfd, flags int) error

Dup3 wraps unix.Dup3.

func Exec

func Exec(cmd string, args []string, env []string) error

Exec wraps unix.Exec.

func Getwd

func Getwd() (wd string, err error)

Getwd wraps unix.Getwd.

func Open

func Open(path string, mode int, perm uint32) (fd int, err error)

Open wraps unix.Open.

func Openat

func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)

Openat wraps unix.Openat.

func Recvfrom

func Recvfrom(fd int, p []byte, flags int) (n int, from unix.Sockaddr, err error)

Recvfrom wraps unix.Recvfrom.

func Sendmsg

func Sendmsg(fd int, p, oob []byte, to unix.Sockaddr, flags int) error

Sendmsg wraps unix.Sendmsg.

func SetMempolicy

func SetMempolicy(mode uint, mask *unix.CPUSet) error

SetMempolicy wraps set_mempolicy.

Source Files

eintr.go linux.go

Version
v1.4.0-rc.2
Published
Oct 9, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
18 minutes ago

Tools for package owners.