[−][src]Struct opencontainers::runtime::config::LinuxProcessExt
Fields
apparmor_profile: Option<String>
specifies the name of the AppArmor profile for the process.
For more information about AppArmor, see AppArmor documentation.
capabilities: Option<Capabilities>
An object containing arrays that specifies the sets of capabilities for
the process. Valid values are defined in the capabilities(7) man page,
such as CAP_CHOWN
. Any value which cannot be mapped to a relevant
kernel interface MUST cause an error.
no_new_privileges: Option<bool>
prevents the process from gaining additional privileges. As an example,
the no_new_privs
article in the kernel documentation has information
on how this is achieved using a prctl
system call on Linux.
oom_score_adj: Option<i64>
Adjusts the oom-killer score in [pid]/oom_score_adj
for the process's
[pid]
in a proc pseudo-filesystem. If oomScoreAdj
is set, the
runtime MUST set oom_score_adj
to the given value.
If oomScoreAdj
is not set, the runtime MUST NOT change the value of
oom_score_adj
.
This is a per-process setting, where as disableOOMKiller
is scoped for
a memory cgroup. For more information on how these two settings work
together, see the memory cgroup documentation section 10. OOM Contol.
selinux_label: Option<String>
specifies the SELinux label for the process. For more information about SELinux, see SELinux documentation.
Trait Implementations
impl Debug for LinuxProcessExt
[src]
impl Serialize for LinuxProcessExt
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for LinuxProcessExt
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for LinuxProcessExt
impl Sync for LinuxProcessExt
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,