Enum oci_spec::runtime::LinuxSeccompAction
source · #[repr(u32)]pub enum LinuxSeccompAction {
ScmpActKill = 0,
ScmpActKillProcess = 2_147_483_648,
ScmpActTrap = 196_608,
ScmpActErrno = 327_681,
ScmpActNotify = 2_143_289_344,
ScmpActTrace = 2_146_435_073,
ScmpActLog = 2_147_221_504,
ScmpActAllow = 2_147_418_112,
}
Expand description
Available seccomp actions.
Variants§
ScmpActKill = 0
Kill the thread, defined for backward compatibility.
ScmpActKillProcess = 2_147_483_648
Kill the process.
ScmpActTrap = 196_608
Throw a SIGSYS signal.
ScmpActErrno = 327_681
Return the specified error code.
ScmpActNotify = 2_143_289_344
Notifies userspace.
ScmpActTrace = 2_146_435_073
Notify a tracing process with the specified value.
ScmpActLog = 2_147_221_504
Allow the syscall to be executed after the action has been logged.
ScmpActAllow = 2_147_418_112
Allow the syscall to be executed.
Trait Implementations§
source§impl Clone for LinuxSeccompAction
impl Clone for LinuxSeccompAction
source§fn clone(&self) -> LinuxSeccompAction
fn clone(&self) -> LinuxSeccompAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LinuxSeccompAction
impl Debug for LinuxSeccompAction
source§impl Default for LinuxSeccompAction
impl Default for LinuxSeccompAction
source§impl<'de> Deserialize<'de> for LinuxSeccompAction
impl<'de> Deserialize<'de> for LinuxSeccompAction
source§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
source§impl Display for LinuxSeccompAction
impl Display for LinuxSeccompAction
source§impl FromStr for LinuxSeccompAction
impl FromStr for LinuxSeccompAction
source§impl PartialEq for LinuxSeccompAction
impl PartialEq for LinuxSeccompAction
source§fn eq(&self, other: &LinuxSeccompAction) -> bool
fn eq(&self, other: &LinuxSeccompAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxSeccompAction
impl Serialize for LinuxSeccompAction
source§impl TryFrom<&str> for LinuxSeccompAction
impl TryFrom<&str> for LinuxSeccompAction
impl Copy for LinuxSeccompAction
impl Eq for LinuxSeccompAction
impl StructuralPartialEq for LinuxSeccompAction
Auto Trait Implementations§
impl Freeze for LinuxSeccompAction
impl RefUnwindSafe for LinuxSeccompAction
impl Send for LinuxSeccompAction
impl Sync for LinuxSeccompAction
impl Unpin for LinuxSeccompAction
impl UnwindSafe for LinuxSeccompAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)