pub struct LinuxCapabilitiesBuilder { /* private fields */ }Expand description
Builder for LinuxCapabilities.
Implementations§
Source§impl LinuxCapabilitiesBuilder
impl LinuxCapabilitiesBuilder
Sourcepub fn bounding<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
pub fn bounding<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
Bounding is the set of capabilities checked by the kernel.
Sourcepub fn effective<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
pub fn effective<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
Effective is the set of capabilities checked by the kernel.
Sourcepub fn inheritable<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
pub fn inheritable<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
Inheritable is the capabilities preserved across execve.
Sourcepub fn permitted<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
pub fn permitted<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
Permitted is the limiting superset for effective capabilities.
Sourcepub fn ambient<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
pub fn ambient<VALUE: Into<Capabilities>>(self, value: VALUE) -> Self
Ambient is the ambient set of capabilities that are kept.