summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-11-07 20:46:30 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-11-07 20:46:30 +0100
commit6c8097a84df72cc8819de64c0a79f895b784d6c8 (patch)
tree25e1a783964a2bb556bb48011f8b1c7f2fe6dc84 /lib
parent479ea049e339ebcb94230384646e605aeb213ab8 (diff)
downloadplan9front-6c8097a84df72cc8819de64c0a79f895b784d6c8.tar.xz
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 'lib')
0 files changed, 0 insertions, 0 deletions