package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

Arch returns the kernel architecture value, often used within the kernel `include/arch` directory.
GetKernelHeaders attempts to find kernel headers on the host, and if they cannot be found it will attempt to download them to headerDownloadDir.
GetLockdownMode returns the lockdown.
GetMountPoint returns the mount point of the given path.
HostVersion returns the running kernel version of the host.
IsDebugFSMounted would test the existence of file /sys/kernel/debug/tracing/kprobe_events to determine if debugfs is mounted or not returns a boolean and a possible error message.
IsIPv6Enabled returns whether or not IPv6 has been enabled on the host.
MountInfoPidPath returns the path to the mountinfo file of a pid in /proc.
ParseMountInfoFile collects the mounts for a specific process ID.
ParseVersion parses a string in the format of x.x.x to a Version.
VersionCode returns a Version computed from the individual parts of a x.x.x version.

# Constants

Confidentiality mode.
Integrity mode.
None mode.
NotAttempted represents the case where runtime compilation fails prior to attempting to fetch kernel headers.
Unknown mode.

# Type aliases

HeaderFetchResult enumerates kernel header fetching success & failure modes.
LockdownMode defines a lockdown type.
Version is a numerical representation of a kernel version.