Function set_keepcaps
pub fn set_keepcaps(attribute: bool) -> Result<()>
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.
set_keepcapspub fn set_keepcaps(attribute: bool) -> Result<()>
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.