pidfd_open.2: Further enhancements to fork() + pidfd_open() text

Christian noted that SA_NOCLDWAIT also matters in this scenario.

Reported-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-25 16:16:58 +02:00
parent b869edcbc9
commit 20a3713221
1 changed files with 9 additions and 0 deletions

View File

@ -118,6 +118,15 @@ has not been explicitly set to
.BR SIG_IGN
(see
.BR sigaction (2));
.IP *
the
.BR SA_NOCLDSTOP
flag was not specified while establishing a handler for
.BR SIGCHLD
or while setting the disposition of that signal to
.BR SIG_DFL
(see
.BR sigaction (2));
and
.IP *
the zombie process was not reaped elsewhere in the program