pub struct SignalHandlerInfo {
pub pid: u32,
pub comm: String,
pub signal: u32,
pub signal_name: String,
pub handler: u64,
pub handler_type: String,
pub is_suspicious: bool,
}Expand description
Signal handler information extracted from a process’s task_struct.
Fields§
§pid: u32Process ID.
comm: StringProcess command name.
signal: u32Signal number (1-31).
signal_name: StringHuman-readable signal name (e.g., “SIGTERM”).
handler: u64Raw sa_handler value from the kernel.
handler_type: StringHandler type description: “SIG_DFL”, “SIG_IGN”, or hex address.
is_suspicious: boolWhether this signal handler configuration is suspicious.
Trait Implementations§
Source§impl Clone for SignalHandlerInfo
impl Clone for SignalHandlerInfo
Source§fn clone(&self) -> SignalHandlerInfo
fn clone(&self) -> SignalHandlerInfo
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 SignalHandlerInfo
impl Debug for SignalHandlerInfo
Auto Trait Implementations§
impl Freeze for SignalHandlerInfo
impl RefUnwindSafe for SignalHandlerInfo
impl Send for SignalHandlerInfo
impl Sync for SignalHandlerInfo
impl Unpin for SignalHandlerInfo
impl UnsafeUnpin for SignalHandlerInfo
impl UnwindSafe for SignalHandlerInfo
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