aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-05-16 12:42:46 +0100
committerRon Yorston <rmy@pobox.com>2024-05-16 12:42:46 +0100
commit2a01fe0325524f7745f60a528d1f3076c098d89d (patch)
tree6fe1b772cc59cd258ca84f2ee29b58be6da150ab /arch
parentf1fc5ab9d6980b88eede93051736305408774122 (diff)
downloadbusybox-w32-2a01fe0325524f7745f60a528d1f3076c098d89d.tar.gz
busybox-w32-2a01fe0325524f7745f60a528d1f3076c098d89d.tar.bz2
busybox-w32-2a01fe0325524f7745f60a528d1f3076c098d89d.zip
win32: ensure PIDs are read early in procps_scan()
Recent changes to allow orphaned processes to report a parent PID of 1 rely on the assumption that Process32First/Process32Next return parents before children. This isn't guaranteed by the API. Obtain all known PIDs on the first call to procps_scan() so that dead parents can be detected reliably. Costs 48 bytes.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions