mirror of https://github.com/mkerrisk/man-pages
wait.2: Orphaned children may be adopted by a "subreaper", rather by than PD 1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
99ed723adc
commit
cfbe21a4d1
|
@ -434,7 +434,12 @@ this table fills, it will not be possible to create further processes.
|
|||
If a parent process terminates, then its "zombie" children (if any)
|
||||
are adopted by
|
||||
.BR init (1),
|
||||
which automatically performs a wait to remove the zombies.
|
||||
(or by the nearest "subreaper" process as defined through the use of the
|
||||
.BR prctl (2)
|
||||
.B PR_SET_CHILD_SUBREAPER
|
||||
operation);
|
||||
.BR init (1)
|
||||
automatically performs a wait to remove the zombies.
|
||||
|
||||
POSIX.1-2001 specifies that if the disposition of
|
||||
.B SIGCHLD
|
||||
|
|
Loading…
Reference in New Issue