pub enum LinuxSeccompAction {
ScmpActKill,
ScmpActKillThread,
ScmpActKillProcess,
ScmpActTrap,
ScmpActErrno,
ScmpActNotify,
ScmpActTrace,
ScmpActLog,
ScmpActAllow,
}
Expand description
Available seccomp actions.
Variants§
ScmpActKill
Kill the thread, defined for backward compatibility.
ScmpActKillThread
Kill the thread
ScmpActKillProcess
Kill the process.
ScmpActTrap
Throw a SIGSYS signal.
ScmpActErrno
Return the specified error code.
ScmpActNotify
Notifies userspace.
ScmpActTrace
Notify a tracing process with the specified value.
ScmpActLog
Allow the syscall to be executed after the action has been logged.
ScmpActAllow
Allow the syscall to be executed.
Trait Implementations§
Source§impl Clone for LinuxSeccompAction
impl Clone for LinuxSeccompAction
Source§fn clone(&self) -> LinuxSeccompAction
fn clone(&self) -> LinuxSeccompAction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinuxSeccompAction
impl Debug for LinuxSeccompAction
Source§impl Default for LinuxSeccompAction
impl Default for LinuxSeccompAction
Source§impl<'de> Deserialize<'de> for LinuxSeccompAction
impl<'de> Deserialize<'de> for LinuxSeccompAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LinuxSeccompAction
impl Display for LinuxSeccompAction
Source§impl From<LinuxSeccompAction> for u32
impl From<LinuxSeccompAction> for u32
Source§fn from(action: LinuxSeccompAction) -> Self
fn from(action: LinuxSeccompAction) -> Self
Converts to this type from the input type.
Source§impl FromStr for LinuxSeccompAction
impl FromStr for LinuxSeccompAction
Source§impl PartialEq for LinuxSeccompAction
impl PartialEq for LinuxSeccompAction
Source§impl Serialize for LinuxSeccompAction
impl Serialize for LinuxSeccompAction
Source§impl TryFrom<&str> for LinuxSeccompAction
impl TryFrom<&str> for LinuxSeccompAction
impl Copy for LinuxSeccompAction
impl Eq for LinuxSeccompAction
impl StructuralPartialEq for LinuxSeccompAction
Auto Trait Implementations§
impl Freeze for LinuxSeccompAction
impl RefUnwindSafe for LinuxSeccompAction
impl Send for LinuxSeccompAction
impl Sync for LinuxSeccompAction
impl Unpin for LinuxSeccompAction
impl UnwindSafe for LinuxSeccompAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)