Struct oci_spec::runtime::LinuxCapabilities [−][src]
pub struct LinuxCapabilities {
pub bounding: Option<Vec<Capability>>,
pub effective: Option<Vec<Capability>>,
pub inheritable: Option<Vec<Capability>>,
pub permitted: Option<Vec<Capability>>,
pub ambient: Option<Vec<Capability>>,
}
Expand description
LinuxCapabilities specifies the list of allowed capabilities that are kept for a process. http://man7.org/linux/man-pages/man7/capabilities.7.html
Fields
bounding: Option<Vec<Capability>>
Bounding is the set of capabilities checked by the kernel.
effective: Option<Vec<Capability>>
Effective is the set of capabilities checked by the kernel.
inheritable: Option<Vec<Capability>>
Inheritable is the capabilities preserved across execve.
permitted: Option<Vec<Capability>>
Permitted is the limiting superset for effective capabilities.
ambient: Option<Vec<Capability>>
Ambient is the ambient set of capabilities that are kept.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LinuxCapabilities
impl Send for LinuxCapabilities
impl Sync for LinuxCapabilities
impl Unpin for LinuxCapabilities
impl UnwindSafe for LinuxCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more