devela::_dep::rustix::thread

Function set_capabilities

pub fn set_capabilities(
    pid: Option<Pid>,
    sets: CapabilitySets,
) -> Result<(), Errno> 
Available on crate feature dep_rustix only.
Expand description

capset(_LINUX_CAPABILITY_VERSION_3, pid, effective, permitted, inheritable)

§References