# Functions
CountChilds returns the number of child processes for a given process id.
ExtractPid returns a pid extracted from path of type "/proc/1".
FindParentMountEntry finds the parent mount point entry associated to the provided path among the entry list provided in argument.
GetMountInfoEntry parses a mountinfo file and returns all parsed entries as an array of MountInfoEntry.
GetMountPointMap parses mountinfo pointing to path and returns a map of parent mount points with associated child mount points.
Getppid returns the parent process ID for the corresponding process ID passed in parameter.
HasFilesystem returns whether kernel support filesystem or not.
HasNamespace checks if host namespace and container namespace are different.
ParentMount parses mountinfo and returns the path of parent mount point for which the provided path is mounted in.
ReadIDMap reads uid_map or gid_map and returns both container ID and host ID.
SetOOMScoreAdj sets OOM score for process with pid.
# Structs
MountInfoEntry contains parsed fields of a mountinfo line.