pub struct HiddenDentryInfo {
pub pid: u32,
pub comm: String,
pub fd: u32,
pub dentry_addr: u64,
pub filename: String,
pub inode_num: u64,
pub file_size: u64,
pub nlink: u32,
pub is_suspicious: bool,
}Expand description
Information about a hidden (unlinked but open) file descriptor.
Fields§
§pid: u32Process ID.
comm: StringProcess command name (task_struct.comm, max 16 chars).
fd: u32File descriptor number.
dentry_addr: u64Virtual address of the struct dentry in kernel memory.
filename: StringFilename from dentry->d_name.
inode_num: u64Inode number from dentry->d_inode->i_ino.
file_size: u64File size in bytes from dentry->d_inode->i_size.
nlink: u32Hard link count (dentry->d_inode->i_nlink); 0 means the file is unlinked.
is_suspicious: boolWhether this hidden dentry is considered suspicious.
Trait Implementations§
Source§impl Clone for HiddenDentryInfo
impl Clone for HiddenDentryInfo
Source§fn clone(&self) -> HiddenDentryInfo
fn clone(&self) -> HiddenDentryInfo
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§impl Debug for HiddenDentryInfo
impl Debug for HiddenDentryInfo
Auto Trait Implementations§
impl Freeze for HiddenDentryInfo
impl RefUnwindSafe for HiddenDentryInfo
impl Send for HiddenDentryInfo
impl Sync for HiddenDentryInfo
impl Unpin for HiddenDentryInfo
impl UnsafeUnpin for HiddenDentryInfo
impl UnwindSafe for HiddenDentryInfo
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