Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParentNSeuid ¶
func GetParentNSeuid() int
GetParentNSeuid returns the euid within the parent user namespace Always returns os.Geteuid on non-linux
func RunningInUserNS ¶
func RunningInUserNS() bool
RunningInUserNS is a stub for non-Linux systems Always returns false
func UIDMapInUserNS ¶
UIDMapInUserNS is a stub for non-Linux systems Always returns false
Types ¶
type Stat_t ¶
type Stat_t struct { // PID is the process ID. PID uint // Name is the command run by the process. Name string // State is the state of the process. State State // StartTime is the number of clock ticks after system boot (since // Linux 2.6). StartTime uint64 }
Stat_t represents the information from /proc/[pid]/stat, as described in proc(5) with names based on the /proc/[pid]/status fields.
Click to show internal directories.
Click to hide internal directories.