Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 21:59:22 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r307069 - stable/11/lib/libc/sys
Message-ID:  <201610112159.u9BLxMCt041306@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Tue Oct 11 21:59:22 2016
New Revision: 307069
URL: https://svnweb.freebsd.org/changeset/base/307069

Log:
  MFC r305628: intro(2),_exit(2): Update for reaper (procctl(PROC_REAP_ACQUIRE)).

Modified:
  stable/11/lib/libc/sys/_exit.2
  stable/11/lib/libc/sys/intro.2
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/sys/_exit.2
==============================================================================
--- stable/11/lib/libc/sys/_exit.2	Tue Oct 11 21:40:15 2016	(r307068)
+++ stable/11/lib/libc/sys/_exit.2	Tue Oct 11 21:59:22 2016	(r307069)
@@ -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

Modified: stable/11/lib/libc/sys/intro.2
==============================================================================
--- stable/11/lib/libc/sys/intro.2	Tue Oct 11 21:40:15 2016	(r307068)
+++ stable/11/lib/libc/sys/intro.2	Tue Oct 11 21:59:22 2016	(r307069)
@@ -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
@@ -484,7 +484,10 @@ A new process is created by a currently 
 .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
@@ -533,7 +536,7 @@ when none of its members has a parent pr
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610112159.u9BLxMCt041306>