aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-25 16:16:58 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-10-10 12:24:28 +0200
commit20a37132215bd71fdebdd5b64f73debc038a08f3 (patch)
tree8d49743b3e4008ab601c48fa43c0d3b81afa242b
parentb869edcbc909961385515af721e9161b7da3e86a (diff)
downloadman-pages-20a37132215bd71fdebdd5b64f73debc038a08f3.tar.gz
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>
-rw-r--r--man2/pidfd_open.29
1 files changed, 9 insertions, 0 deletions
diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2
index e8ba3769ae..8a4a7aafa3 100644
--- a/man2/pidfd_open.2
+++ b/man2/pidfd_open.2
@@ -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