Enum syscallz::Action [−][src]
Expand description
The action to execute if a rule matches
Variants
Kill the whole process if a rule is violated.
Kill the thread that has violated a rule.
Send a SIGSYS if a rule is violated.
Reject the syscall and set the errno accordingly.
Tuple Fields of Errno
0: u16
If the thread is being traced with ptrace, notify the tracing process.
The numeric argument can be retrieved with PTRACE_GETEVENTMSG
.
Tuple Fields of Trace
0: u16
The syscall is allowed and executed as usual.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl UnwindSafe for Action
Blanket Implementations
Mutably borrows from an owned value. Read more