git: kernel - Add reapctl() system call for managing sub-processes (3) -> procctl()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 10 22:59:37 PST 2014


commit fc3bc2868ad212f3b412ad13f0eaa35b3f8d458d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 10 22:37:47 2014 -0800

    kernel - Add reapctl() system call for managing sub-processes (3) -> procctl()
    
    * After discussions, rename reapctl() -> procctl() and adjust
      the API to be compatible with FreeBSD.
    
    * bapt will implement the same exact feature in FreeBSD via procctl().

Summary of changes:
 lib/libc/sys/Makefile.inc             |  1 +
 lib/libc/sys/Symbol.map               |  6 ++---
 lib/libc/sys/{reapctl.2 => procctl.2} | 30 ++++++++++++------------
 sys/kern/init_sysent.c                |  2 +-
 sys/kern/kern_exit.c                  |  2 +-
 sys/kern/kern_fork.c                  | 15 +++++++-----
 sys/kern/makesyscalls.sh              |  1 +
 sys/kern/syscalls.c                   |  2 +-
 sys/kern/syscalls.master              |  2 +-
 sys/sys/proc.h                        |  2 +-
 sys/sys/{reaper.h => procctl.h}       | 43 +++++++++++++++++++++++++++++------
 sys/sys/syscall.h                     |  2 +-
 sys/sys/syscall.mk                    |  2 +-
 sys/sys/sysproto.h                    | 12 ++++++----
 sys/sys/sysunion.h                    |  2 +-
 15 files changed, 82 insertions(+), 42 deletions(-)
 rename lib/libc/sys/{reapctl.2 => procctl.2} (94%)
 rename sys/sys/{reaper.h => procctl.h} (64%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc3bc2868ad212f3b412ad13f0eaa35b3f8d458d


-- 
DragonFly BSD source repository


More information about the Commits mailing list