pub struct MemfdInfo {
pub pid: u32,
pub comm: String,
pub memfd_name: String,
pub size_bytes: u64,
pub is_executable: bool,
pub is_suspicious: bool,
}Expand description
Information about an open memfd_create file descriptor.
Fields§
§pid: u32Process ID.
comm: StringProcess command name (task_struct.comm, max 16 chars).
memfd_name: StringName given to memfd_create, e.g. "payload" (without the memfd: prefix).
size_bytes: u64Total byte size of all VMAs backed by this memfd.
is_executable: boolWhether any VMA backed by this memfd is mapped executable (PROT_EXEC).
is_suspicious: boolWhether this memfd is considered suspicious.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemfdInfo
impl RefUnwindSafe for MemfdInfo
impl Send for MemfdInfo
impl Sync for MemfdInfo
impl Unpin for MemfdInfo
impl UnsafeUnpin for MemfdInfo
impl UnwindSafe for MemfdInfo
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