Documentation
¶
Overview ¶
Package procstatus holds what the e2e testserver's procstatus subcommand prints: the kernel's view of processes on a worker, read from /proc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
PID int `json:"pid"`
PPID int `json:"ppid"`
// Name is the base name of argv[0].
Name string `json:"name"`
CapPrm uint64 `json:"capPrm"`
CapEff uint64 `json:"capEff"`
CapBnd uint64 `json:"capBnd"`
CapAmb uint64 `json:"capAmb"`
NoNewPrivs int `json:"noNewPrivs"`
Seccomp int `json:"seccomp"`
Threads []Thread `json:"threads"`
}
Process is one process's /proc/<pid>/status, reduced to the fields the worker security tests compare. The capability sets are the raw 64-bit masks. Seccomp is the main thread's mode; Threads has every thread's.