pub struct PolicyEvent {
pub event: SyscallEvent,
pub gate: Option<Sender<Verdict>>,
}Expand description
An event sent from the supervisor to the policy callback thread.
Fields§
§event: SyscallEvent§gate: Option<Sender<Verdict>>If Some, the supervisor blocks until this is signaled. Used for execve to allow pre-execution policy changes. The Verdict is sent back to control allow/deny.
Auto Trait Implementations§
impl Freeze for PolicyEvent
impl !RefUnwindSafe for PolicyEvent
impl Send for PolicyEvent
impl Sync for PolicyEvent
impl Unpin for PolicyEvent
impl UnsafeUnpin for PolicyEvent
impl !UnwindSafe for PolicyEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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