Documentation
¶
Index ¶
- Constants
- Variables
- func GetCgroupV2RootDir() (string, error)
- func GetMountNamespaceFromPid(pid int) int64
- func GetNetworkNamespaceFromPid(pid int) int64
- func GetPidNamespaceFromPid(pid int) int64
- func GetUniqInts(items []int) []int
- func GoString(cstring []int8) string
- func StartSubProcess(ctx context.Context, Args []string) error
- func StartSubProcessLoader(ctx context.Context, program string, subProgramArgs []string) (int, <-chan struct{}, error)
- func UnwrapErr(err error) error
Constants ¶
View Source
const EnvIsSubProgramLoader = "PTCPDUMP-IS-SUB-PROGRAM-LOADER"
Variables ¶
View Source
var PathProcMounts = "/proc/mounts"
Functions ¶
func GetCgroupV2RootDir ¶
func GetMountNamespaceFromPid ¶ added in v0.10.0
func GetNetworkNamespaceFromPid ¶ added in v0.10.0
func GetPidNamespaceFromPid ¶ added in v0.13.0
func GetUniqInts ¶ added in v0.18.0
func StartSubProcessLoader ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.