git: DragonFly_RELEASE_4_0 kernel - Add reapctl() system call for managing sub-processes (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 10 23:01:12 PST 2014


commit 80df0eef7ae84b72395e74bc830bd4bc7c71a42b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 9 20:10:37 2014 -0800

    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.

Summary of changes:
 sys/kern/kern_fork.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/80df0eef7ae84b72395e74bc830bd4bc7c71a42b


-- 
DragonFly BSD source repository


More information about the Commits mailing list