Enum seccomp::Action [] [src]

pub enum Action {
    Allow,
    Kill,
    Trap,
    Errno(i32),
    Trace(u32),
}

Seccomp actions

Variants

Allow

Allow the syscall to be executed

Kill

Kill the process

Trap

Throw a SIGSYS signal

Errno(i32)

Return the specified error code

Trace(u32)

Notify a tracing process with the specified value

Trait Implementations

impl Copy for Action
[src]

impl Clone for Action
[src]

fn clone(&self) -> Action

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Action
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Into<uint32_t> for Action
[src]

fn into(self) -> uint32_t

Performs the conversion.