Skip to main content

is_same_process

Function is_same_process 

Source
pub fn is_same_process(pid: u32, expected_start: u64) -> bool
Expand description

Whether pid is the same process instance that recorded expected_start.

The identity check devflow stop and friends should use. See process_start_time for why a pid alone — or any /proc-derived description of it — cannot answer this.