kernel - Add reapctl() system call for managing sub-processes (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Nov 2014 04:10:37 +0000 (20:10 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 11 Nov 2014 07:00:37 +0000 (23:00 -0800)
commit80df0eef7ae84b72395e74bc830bd4bc7c71a42b
treeadd0e569ac79f501a698df4b6117265c40eb69bc
parent6260c20b39ae34ecd57a647c56e7ea93090fffed
kernel - Add reapctl() system call for managing sub-processes (2)

* subtract 1 from refs returned in status, so they roughly match the
  number of processes which are direct children of the caller.

* Load udata.status.pid_head even if we have not acquired reaping control.
  This can be useful information either way.
sys/kern/kern_fork.c