pub enum Attribute {
BadArchAction(Action),
NoNewPrivileges(bool),
ThreadSync(bool),
NegativeSyscalls(bool),
Log(bool),
DisableSSB(bool),
Optimize(OptimizeStrategy),
ReturnSystemReturnCodes(bool),
}Expand description
Attributes.
Variants§
BadArchAction(Action)
The action for when an invalid architecture is detected.
NoNewPrivileges(bool)
Deny new privileges on load
ThreadSync(bool)
Sync all threads in the process to make sure the filter applies.
NegativeSyscalls(bool)
Allow negative Syscalls.
Log(bool)
Log syscalls to Audit.
DisableSSB(bool)
Disable SSB Mitigation.
Optimize(OptimizeStrategy)
How the rules are ordered.
ReturnSystemReturnCodes(bool)
Return system return codes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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