Enum seccompiler::SeccompAction [−][src]
Expand description
Actions that a seccomp filter can return for a syscall.
Variants
Allows syscall.
Errno(u32)
Returns from syscall with specified error number.
Tuple Fields of Errno
0: u32
Kills calling thread.
Kills calling process.
Allows syscall after logging it.
Trace(u32)
Notifies tracing process of the caller with respective number.
Tuple Fields of Trace
0: u32
Sends SIGSYS
to the calling process.
Trait Implementations
Return codes of the BPF program for each action.
Arguments
action
- TheSeccompAction
that the kernel will take.
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 SeccompAction
impl Send for SeccompAction
impl Sync for SeccompAction
impl Unpin for SeccompAction
impl UnwindSafe for SeccompAction
Blanket Implementations
Mutably borrows from an owned value. Read more