Documentation ¶
Index ¶
- func AreSubset(a uint64, set uint64) bool
- func GetCapabilities(capInt uint64) string
- func GetCapabilitiesHex(capInt uint64) string
- func GetCapabilitiesTypes(capInt uint64) []tetragon.CapabilitiesType
- func GetCapability(capInt int32) (string, error)
- func GetCapsFullSet() uint64
- func GetCurrentCapabilities() *tetragon.Capabilities
- func GetLastCap() int32
- func GetMsgCapabilities(caps processapi.MsgCapabilities) *tetragon.Capabilities
- func GetPIDCaps(filename string) (uint32, uint64, uint64, uint64)
- func GetPrivilegesChangedReasons(reasons uint32) []tetragon.ProcessPrivilegesChanged
- func GetSecureBitsTypes(secBit uint32) []tetragon.SecureBitsType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreSubset ¶ added in v1.3.2
AreSubset() Checks if "a" is a subset of "set" Rerturns true if all "a" capabilities are also in "set", otherwise false.
func GetCapabilities ¶
func GetCapabilitiesHex ¶ added in v1.3.2
func GetCapabilitiesTypes ¶
func GetCapabilitiesTypes(capInt uint64) []tetragon.CapabilitiesType
func GetCapability ¶
func GetCapsFullSet ¶ added in v1.3.2
func GetCapsFullSet() uint64
GetCapsFullSet() Returns up to date (go unix library) full set.
func GetCurrentCapabilities ¶
func GetCurrentCapabilities() *tetragon.Capabilities
func GetLastCap ¶ added in v1.3.2
func GetLastCap() int32
GetLastCap() Returns unix.CAP_LAST_CAP unless the kernel defines another last cap which is the case for old kernels.
func GetMsgCapabilities ¶
func GetMsgCapabilities(caps processapi.MsgCapabilities) *tetragon.Capabilities
func GetPrivilegesChangedReasons ¶ added in v1.3.2
func GetPrivilegesChangedReasons(reasons uint32) []tetragon.ProcessPrivilegesChanged
func GetSecureBitsTypes ¶ added in v1.3.2
func GetSecureBitsTypes(secBit uint32) []tetragon.SecureBitsType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.