Function nix::sys::prctl::set_keepcaps
source · pub fn set_keepcaps(attribute: bool) -> Result<()>
Expand description
Set the “keep capabilities” attribute for this process. This causes the thread to retain capabilities even if it switches its UID to a nonzero value.