pub struct CapabilityProbe;Expand description
Stub capability-denial probe.
poll always returns an empty vector. The real implementation will
either:
- open a netlink audit socket (NETLINK_AUDIT) with a per-cell filter, OR
- read from a
/sys/kernel/debug/tracing/events/capable/pipe (debugfs is post-1.0 per ADR-0006 §5.8).
TODO syscall surface — wire one of (1) or (2) under the Path C deferral.
Implementations§
Trait Implementations§
Source§impl Debug for CapabilityProbe
impl Debug for CapabilityProbe
Source§impl Default for CapabilityProbe
impl Default for CapabilityProbe
Source§fn default() -> CapabilityProbe
fn default() -> CapabilityProbe
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapabilityProbe
impl RefUnwindSafe for CapabilityProbe
impl Send for CapabilityProbe
impl Sync for CapabilityProbe
impl Unpin for CapabilityProbe
impl UnsafeUnpin for CapabilityProbe
impl UnwindSafe for CapabilityProbe
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