pub enum NotifyMode {
Disabled,
Monitor,
Virtualize,
}Expand description
Seccomp user notification mode.
Controls how the supervisor handles intercepted syscalls from the sandboxed child.
Variants§
Disabled
No seccomp notify filter installed. Zero overhead. Default.
Monitor
Supervisor logs syscalls and returns SECCOMP_USER_NOTIF_FLAG_CONTINUE.
Minimal overhead. For debugging/auditing.
Virtualize
Supervisor intercepts FS syscalls, translates paths via VirtualFs,
opens files at translated paths, injects fd via SECCOMP_IOCTL_NOTIF_ADDFD.
Trait Implementations§
Source§impl Clone for NotifyMode
impl Clone for NotifyMode
Source§fn clone(&self) -> NotifyMode
fn clone(&self) -> NotifyMode
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 NotifyMode
impl Debug for NotifyMode
Source§impl Default for NotifyMode
impl Default for NotifyMode
Source§fn default() -> NotifyMode
fn default() -> NotifyMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for NotifyMode
impl PartialEq for NotifyMode
impl Copy for NotifyMode
impl Eq for NotifyMode
impl StructuralPartialEq for NotifyMode
Auto Trait Implementations§
impl Freeze for NotifyMode
impl RefUnwindSafe for NotifyMode
impl Send for NotifyMode
impl Sync for NotifyMode
impl Unpin for NotifyMode
impl UnsafeUnpin for NotifyMode
impl UnwindSafe for NotifyMode
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