Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCapabilities ¶
func DefaultCapabilities() []string
DefaultCapabilities returns a Linux kernel default capabilities
func GetAllCapabilities ¶
func GetAllCapabilities() []string
GetAllCapabilities returns all capabilities that are available in the current environment.
func NormalizeLegacyCapabilities ¶
NormalizeLegacyCapabilities normalizes, and validates CapAdd/CapDrop capabilities by upper-casing them, and adding a CAP_ prefix (if not yet present).
This function also accepts the "ALL" magic-value, that's used by CapAdd/CapDrop.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.