Method lrs::thread::CapSet::set_permitted

Sets whether the set contains a permitted capability.

Syntax

impl CapSet {
    fn set_permitted(&mut self, cap: Capability, has: bool) -> ()
}

Arguments

NameDescription
cap

The capability to modify.

has

Whether the set contains the capability.