#[repr(u32)]pub enum SeccompAction {
Allow = 2_147_418_112,
KillThread = 0,
KillProcess = 2_147_483_648,
Trap = 196_608,
Errno = 327_680,
Trace = 2_146_435_072,
Log = 2_147_221_504,
}Expand description
Seccomp return action values.
Variants§
Allow = 2_147_418_112
Allow the syscall.
KillThread = 0
Kill the thread.
KillProcess = 2_147_483_648
Kill the process.
Trap = 196_608
Trigger a SIGSYS and deliver a signal.
Errno = 327_680
Return an errno value (low 16 bits).
Trace = 2_146_435_072
Notify a tracing process.
Log = 2_147_221_504
Log the syscall and allow it.
Implementations§
Source§impl SeccompAction
impl SeccompAction
Trait Implementations§
Source§impl Clone for SeccompAction
impl Clone for SeccompAction
Source§fn clone(&self) -> SeccompAction
fn clone(&self) -> SeccompAction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeccompAction
impl Debug for SeccompAction
Source§impl PartialEq for SeccompAction
impl PartialEq for SeccompAction
impl Copy for SeccompAction
impl Eq for SeccompAction
impl StructuralPartialEq for SeccompAction
Auto Trait Implementations§
impl Freeze for SeccompAction
impl RefUnwindSafe for SeccompAction
impl Send for SeccompAction
impl Sync for SeccompAction
impl Unpin for SeccompAction
impl UnwindSafe for SeccompAction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)