Module caps::securebits

source ·
Expand description

Manipulate securebits flags

This module exposes methods to get and set per-thread securebits flags, which can be used to disable special handling of capabilities for UID 0 (root).

Functions

Return whether the current thread’s “keep capabilities” flag is set.
Set the value of the current thread’s “keep capabilities” flag.