pub struct SharedMemAnomalyInfo {
pub pid: u64,
pub comm: String,
pub shm_base: u64,
pub shm_size: u64,
pub is_memfd: bool,
pub is_executable: bool,
pub is_cross_uid: bool,
pub has_elf_header: bool,
}Expand description
Shared memory anomaly info.
Fields§
§pid: u64Process ID.
comm: StringProcess command name.
shm_base: u64Base address of the shared memory region.
shm_size: u64Size of the shared memory region.
is_memfd: boolWhether the region was created with memfd_create.
is_executable: boolWhether the region is executable.
is_cross_uid: boolWhether the region is shared between processes with different UIDs.
has_elf_header: boolWhether the region contains an ELF magic header.
Trait Implementations§
Source§fn clone(&self) -> SharedMemAnomalyInfo
fn clone(&self) -> SharedMemAnomalyInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn into_forensic_events(self) -> Vec<ForensicEvent>
fn into_forensic_events(self) -> Vec<ForensicEvent>
Consume this value and produce forensic events.
Auto Trait Implementations§
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