[][src]Function capctl::prctl::set_securebits

pub fn set_securebits(flags: Secbits) -> Result<()>

Set the "securebits" flags of the current thread.

The secure bits control various aspects of the handling of capabilities for UID 0. See Secbits and capabilities(7) for more details.

Note: Modifying the securebits with this function requires the CAP_SETPCAP capability.