Documentation
¶
Overview ¶
Package capabilities provides a mapping from common kernel bit masks to the alphanumerical representation of kernel capabilities. See capabilities(7) for additional information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FullCAPs represents the value of a bitmask with a full capability // set. FullCAPs = uint64(0x1FFFFFFFFFF) )
Functions ¶
func TranslateMask ¶
TranslateMask iterates over mask and returns a slice of corresponding capabilities. If a bit is out of range of known capabilities, it is set as "unknown" to catch potential regressions when new capabilities are added to the kernel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.