prctl.2: Note semantics of child_subreaper setting on fork() and exec()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-03-16 08:10:43 +01:00
parent a98e03042a
commit d59a75720f
1 changed files with 7 additions and 0 deletions

View File

@ -176,6 +176,13 @@ will receive a
signal and will be able to
.BR wait (2)
on the process to discover its termination status.
The setting of this bit is not inherited by children created by
.BR fork (2)
and
.BR clone (2).
The setting is preserved across
.BR execve (2).
.TP
.BR PR_GET_CHILD_SUBREAPER " (since Linux 3.4)"
Return the "child subreaper" setting of the caller,