diff options
author | Ron Yorston <rmy@pobox.com> | 2024-05-14 14:03:25 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-05-14 14:03:25 +0100 |
commit | 4e0359ce93c4b0185c5340d03be505b609417b04 (patch) | |
tree | d6e876e08778e88f162657ef237400cdb438de61 /init | |
parent | 569de936abb90f4c7cdca9da111a6ea780b135bf (diff) | |
download | busybox-w32-4e0359ce93c4b0185c5340d03be505b609417b04.tar.gz busybox-w32-4e0359ce93c4b0185c5340d03be505b609417b04.tar.bz2 busybox-w32-4e0359ce93c4b0185c5340d03be505b609417b04.zip |
ps: report unknown parent PID as 1
If the parent PID doesn't appear in the process table, report it
as 1. This more closely matches how orphaned children are handled
on UNIX.
Adds 96-128 bytes.
(GitHub issue #416)
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions