diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-07 20:46:30 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-07 20:46:30 +0100 |
commit | 6c8097a84df72cc8819de64c0a79f895b784d6c8 (patch) | |
tree | 25e1a783964a2bb556bb48011f8b1c7f2fe6dc84 /sys/src/cmd/python/Python/import.c | |
parent | 479ea049e339ebcb94230384646e605aeb213ab8 (diff) |
fix spurious kproc ppid
newproc() didnt zero parentpid and kproc() didnt set it, so
kprocs ended up with random parent pid. this is harmless as
kprocs have no up->parent but it gives confusing results in
pstree(1).
now we zero parentpid in newproc(), and set it in sysrfork()
unless RFNOWAIT has been set.
Diffstat (limited to 'sys/src/cmd/python/Python/import.c')
0 files changed, 0 insertions, 0 deletions