#[repr(C)]pub enum scmp_filter_attr {
_SCMP_FLTATR_MIN = 0,
SCMP_FLTATR_ACT_DEFAULT = 1,
SCMP_FLTATR_ACT_BADARCH = 2,
SCMP_FLTATR_CTL_NNP = 3,
_SCMP_FLTATR_MAX = 4,
}Expand description
Filter attributes
Variants§
_SCMP_FLTATR_MIN = 0
SCMP_FLTATR_ACT_DEFAULT = 1
SCMP_FLTATR_ACT_BADARCH = 2
default filter action
SCMP_FLTATR_CTL_NNP = 3
bad architecture action
_SCMP_FLTATR_MAX = 4
set NO_NEW_PRIVS on filter load
Trait Implementations§
Source§impl Clone for scmp_filter_attr
impl Clone for scmp_filter_attr
Source§fn clone(&self) -> scmp_filter_attr
fn clone(&self) -> scmp_filter_attr
Returns a duplicate 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 scmp_filter_attr
impl Debug for scmp_filter_attr
impl Copy for scmp_filter_attr
Auto Trait Implementations§
impl Freeze for scmp_filter_attr
impl RefUnwindSafe for scmp_filter_attr
impl Send for scmp_filter_attr
impl Sync for scmp_filter_attr
impl Unpin for scmp_filter_attr
impl UnwindSafe for scmp_filter_attr
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