Skip to main content

process_has_boot_id

Function process_has_boot_id 

Source
pub fn process_has_boot_id(pid: u32, boot_id: &str) -> bool
Expand description

Prove that one process carries the exact boot ownership marker inherited from its rbnx boot parent. This is also the portable identity fallback for the detached watchdog on targets (notably macOS) without Linux procfs start ticks. Inspection failure is a mismatch so stale PIDs are never trusted.

浙ICP备2023005800号-2 浙公网安备33010902005384号