pub struct ProcfsState {
pub proc_pids: HashSet<i32>,
pub getdents_cache: HashMap<(i32, u32), Vec<Vec<u8>>>,
pub vdso_patched_addr: u64,
}Expand description
/proc virtualization runtime state.
Fields§
§proc_pids: HashSet<i32>PIDs belonging to the sandbox (for /proc PID filtering).
getdents_cache: HashMap<(i32, u32), Vec<Vec<u8>>>Cache of filtered dirent entries keyed by (pid, fd). Populated on first getdents64 call for a /proc directory, drained on subsequent calls.
vdso_patched_addr: u64Base address of the last vDSO we patched (0 = not yet patched).
Implementations§
Source§impl ProcfsState
impl ProcfsState
Auto Trait Implementations§
impl Freeze for ProcfsState
impl RefUnwindSafe for ProcfsState
impl Send for ProcfsState
impl Sync for ProcfsState
impl Unpin for ProcfsState
impl UnsafeUnpin for ProcfsState
impl UnwindSafe for ProcfsState
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