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>
Mon, 10 Nov 2014 04:13:30 +0000 (20:13 -0800)
commitf614cb6dfba9b8c61af87c9629943a869e6e0e71
treedbd3ebb421b7ac01cab8fc9e9b97c24e4778464c
parent6e2a912cb0efa95728b97415088752bd859fc640
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