Expand description
The action to execute if a rule matches
Variants
KillProcess
Kill the whole process if a rule is violated.
KillThread
Kill the thread that has violated a rule.
Trap
Send a SIGSYS if a rule is violated.
Errno(u16)
Reject the syscall and set the errno accordingly.
Trace(u16)
If the thread is being traced with ptrace, notify the tracing process.
The numeric argument can be retrieved with PTRACE_GETEVENTMSG
.
Allow
The syscall is allowed and executed as usual.
Trait Implementations
impl Copy for Action
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more