diff options
| author | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 21:02:58 +0100 |
|---|---|---|
| committer | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 21:02:58 +0100 |
| commit | 4edfb2418d51ca40cdb086214cd4ffe95fce27ac (patch) | |
| tree | e1e214ec674c803e4174a4e0b665a768e9a406c1 /runtime/src/pe_loader.cpp | |
| parent | 50e9dd32fa8d9ebb6ba22e559ca62fa95920b88d (diff) | |
runtime: make the purge-ownership test deterministic
The dead-owner case relied on the spawned child's PID staying free until the
sweep ran, which is not guaranteed on a busy machine; a reused PID turned the
check into a SKIP. The deletable stand-in now uses this process's own PID
instead: the sweep runs before this process has created any clone, so a file
named with the current PID is always a leftover of a dead run there, and the
live-PID and handle-held skip cases keep their own deterministic stand-ins.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions