nix::sys::prctl

Function set_no_new_privs

source
pub fn set_no_new_privs() -> Result<()>
Expand description

Set the calling threads “no new privs” attribute. Once set this option can not be unset.