diff options
author | kib <kib@FreeBSD.org> | 2017-11-30 14:19:47 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2017-11-30 14:19:47 +0000 |
commit | 0b2a3c56aecae9e26b20770d50852ed085d9f2d6 (patch) | |
tree | f57974fdbb41666b9c441ba15dcd597cb6883d06 /lib | |
parent | c0cf69ad8b844c24520a60fbfe6e8095d1843abd (diff) | |
download | FreeBSD-src-0b2a3c56aecae9e26b20770d50852ed085d9f2d6.zip FreeBSD-src-0b2a3c56aecae9e26b20770d50852ed085d9f2d6.tar.gz |
MFC r326122:
Kill all descendants of the reaper, even if they are descendants of a
subordinate reaper. Also, mark reapers when listing pids.
PR: 223745
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/procctl.2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/procctl.2 b/lib/libc/sys/procctl.2 index da73fb0..9d90f56 100644 --- a/lib/libc/sys/procctl.2 +++ b/lib/libc/sys/procctl.2 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 27, 2016 +.Dd November 21, 2017 .Dt PROCCTL 2 .Os .Sh NAME @@ -211,7 +211,7 @@ of the process. The .Fa pi_flags field returns the following flags, further describing the descendant: -.Bl -tag -width "Dv REAPER_PIDINFO_VALID" +.Bl -tag -width "Dv REAPER_PIDINFO_REAPER" .It Dv REAPER_PIDINFO_VALID Set to indicate that the .Vt procctl_reaper_pidinfo @@ -226,6 +226,9 @@ of the returned array. The .Fa pi_pid field identifies the direct child of the reaper. +.It Dv REAPER_PIDINFO_REAPER +The reported process is itself a reaper. +The descendants of the subordinate reaper are not reported. .El .It Dv PROC_REAP_KILL Request to deliver a signal to some subset of the descendants of the reaper. |