Enum oci_spec::runtime::LinuxSeccompAction
source · [−]#[repr(u32)]
pub enum LinuxSeccompAction {
ScmpActKill,
ScmpActKillProcess,
ScmpActTrap,
ScmpActErrno,
ScmpActNotify,
ScmpActTrace,
ScmpActLog,
ScmpActAllow,
}Expand description
Available seccomp actions.
Variants
ScmpActKill
Kill the thread, defined for backward compatibility.
ScmpActKillProcess
Kill the process.
ScmpActTrap
Throw a SIGSYS signal.
ScmpActErrno
Return the specified error code.
ScmpActNotify
Notifies userspace.
ScmpActTrace
Notify a tracing process with the specified value.
ScmpActLog
Allow the syscall to be executed after the action has been logged.
ScmpActAllow
Allow the syscall to be executed.
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
Auto Trait Implementations
impl RefUnwindSafe for LinuxSeccompAction
impl Send for LinuxSeccompAction
impl Sync for LinuxSeccompAction
impl Unpin for LinuxSeccompAction
impl UnwindSafe for LinuxSeccompAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.