Versions in this module Expand all Collapse all v1 v1.0.1 May 17, 2024 Changes in this version + func ClearKeepCaps() error — linux/amd64 + func Execv(cmd string, args []string, env []string) error — linux/amd64 + func GetParentNSeuid() int — darwin/amd64, js/wasm, windows/amd64 + func GetParentNSeuid() int64 — linux/amd64 + func GetSubreaper() (int, error) — linux/amd64 + func Lgetxattr(path string, attr string) ([]byte, error) — linux/amd64 + func Prlimit(pid, resource int, limit unix.Rlimit) error — linux/amd64 + func RunningInUserNS() bool + func SetKeepCaps() error — linux/amd64 + func SetParentDeathSignal(sig uintptr) error — linux/amd64 + func SetSubreaper(i int) error — linux/amd64 + func Setctty() error — linux/amd64 + func Setgid(gid int) (err error) — linux/amd64 + func Setuid(uid int) (err error) — linux/amd64 + func UIDMapInUserNS(uidmap []user.IDMap) bool + type ParentDeathSignal int — linux/amd64 + func GetParentDeathSignal() (ParentDeathSignal, error) + func (p ParentDeathSignal) Restore() error + func (p ParentDeathSignal) Set() error + type Stat_t struct + Name string + PID uint + StartTime uint64 + State State + func Stat(pid int) (stat Stat_t, err error) + type State rune + const Dead + const DiskSleep + const Running + const Sleeping + const Stopped + const TracingStop + const Zombie + func (s State) String() string