Function set_keepcaps

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.