From 81841f39afd3bd6b0e2a4b9f3f325be5503a4cc8 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 16 Nov 2004 16:59:09 +0000 Subject: [PATCH] SIGCHLD non-conformance was fixed in 2.6.9 --- man2/times.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man2/times.2 b/man2/times.2 index 4bf4f6ad8..44bfad74a 100644 --- a/man2/times.2 +++ b/man2/times.2 @@ -28,6 +28,8 @@ .\" Modified 001213 by Michael Haardt (michael@moria.de) .\" Modified 13 Jun 02, Michael Kerrisk .\" Added note on non-standard behaviour when SIGCHLD is ignored. +.\" Modified 2004-11-16, mtk, Noted that the non-conformance +.\" when SIGCHLD is being ignored is fixed in 2.6.9. .\" .TH TIMES 2 2002-06-14 "Linux" "Linux Programmer's Manual" .SH NAME @@ -111,7 +113,8 @@ In POSIX-1996 the symbol CLK_TCK (defined in .IR ) is mentioned as obsolescent. It is obsolete now. .PP -On Linux, if the disposition of SIGCHLD is set to +In Linux kernel versions before 2.6.9, +if the disposition of SIGCHLD is set to .B SIG_IGN then the times of terminated children are automatically included in the @@ -122,6 +125,7 @@ fields, although POSIX 1003.1-2001 says that this should only happen if the calling process .BR wait ()s on its children. +This non-conformance is rectified in Linux 2.6.9 and later. .\" See the description of times() in XSH, which says: .\" The times of a terminated child process are included... when wait() .\" or waitpid() returns the process ID of this termianted child.