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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 9 20:14:17 PST 2014


commit f614cb6dfba9b8c61af87c9629943a869e6e0e71
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/f614cb6dfba9b8c61af87c9629943a869e6e0e71


-- 
DragonFly BSD source repository


More information about the Commits mailing list