summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-19 12:29:52 -0200
committerRenato Botelho <renato@netgate.com>2016-10-19 12:29:52 -0200
commiteb2387fb3f25275b8ca223e3c464563294982bde (patch)
tree4c047a938698e448ca596afa45d79a8c2e1bb319 /lib/libc
parent7341f15f7754dbf4f2ae475a18fb5c7157f402b2 (diff)
parent3254cfb368aca6150ed96b41feb16dc4b0b76194 (diff)
downloadFreeBSD-src-eb2387fb3f25275b8ca223e3c464563294982bde.zip
FreeBSD-src-eb2387fb3f25275b8ca223e3c464563294982bde.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/_exit.26
-rw-r--r--lib/libc/sys/intro.29
2 files changed, 10 insertions, 5 deletions
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2
index b35e7c4..120ef1c 100644
--- a/lib/libc/sys/_exit.2
+++ b/lib/libc/sys/_exit.2
@@ -28,7 +28,7 @@
.\" @(#)_exit.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd September 8, 2016
.Dt EXIT 2
.Os
.Sh NAME
@@ -64,9 +64,11 @@ is set as defined by
.Xr wait 2 .
.It
The parent process-ID of all of the calling process's existing child
-processes are set to 1; the initialization process
+processes are set to the process-ID of the calling process's reaper;
+the reaper (normally the initialization process)
inherits each of these processes
(see
+.Xr procctl 2 ,
.Xr init 8
and the
.Sx DEFINITIONS
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index bc10b1d..fb25195 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -28,7 +28,7 @@
.\" @(#)intro.2 8.5 (Berkeley) 2/27/95
.\" $FreeBSD$
.\"
-.Dd May 4, 2013
+.Dd September 8, 2016
.Dt INTRO 2
.Os
.Sh NAME
@@ -486,7 +486,10 @@ A new process is created by a currently active process (see
.Xr fork 2 ) .
The parent process ID of a process is initially the process ID of its creator.
If the creating process exits,
-the parent process ID of each child is set to the ID of a system process,
+the parent process ID of each child is set to the ID of the calling process's
+reaper (see
+.Xr procctl 2 ) ,
+normally
.Xr init 8 .
.It Process Group
Each active process is a member of a process group that is identified by
@@ -535,7 +538,7 @@ when none of its members has a parent process that is in the same session
as the group,
but is in a different process group.
Note that when a process exits, the parent process for its children
-is changed to be
+is normally changed to be
.Xr init 8 ,
which is in a separate session.
Not all members of an orphaned process group are necessarily orphaned
OpenPOWER on IntegriCloud