Documentation ¶
Index ¶
- Constants
- func Fallocate(fd int, mode uint32, off int64, len int64) error
- func Getrusage(who int, rusage *Rusage) error
- func Ioctl(fd int, request, argp uintptr) error
- func Lstat(path string, statbuf *Stat_t) error
- func Mount(source string, target string, fstype string, flags uintptr, data string) error
- func SetAllGid(gid int) error
- func SetAllUid(uid int) error
- func SetNetNamespace(fd int) error
- func Stat(path string, statbuf *Stat_t) error
- func UnshareMountNamespace() error
- func UnshareNetNamespace() (int, int, error)
- type Rusage
- type Stat_t
- type Timeval
Constants ¶
View Source
const ( MS_BIND = 1 << iota MS_RDONLY RUSAGE_CHILDREN = iota RUSAGE_SELF RUSAGE_THREAD )
Variables ¶
This section is empty.
Functions ¶
func SetNetNamespace ¶
func UnshareMountNamespace ¶
func UnshareMountNamespace() error
func UnshareNetNamespace ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.