From d03d9a05b32057f01de42f40103982dc09879843 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Jun 2008 08:59:04 +0000 Subject: [PATCH] Added FIXME. --- man2/sigaction.2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index eadce9d57..b55b435eb 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -244,6 +244,20 @@ fill in .B SIGCHLD also fills in .IR si_status ", " si_utime " and " si_stime . +.\" FIXME . +.\" When si_utime and si_stime where originally implemented, the +.\" measurement unit was HZ, which was the same as clock ticks +.\" (sysconf(_SC_CLK_TCK)). In 2.6, HZ became configurable, and +.\" was *still* used as the unit to return the info these fields, +.\" with the result that the field values depended on the the +.\" configured HZ. Of course, the should have been measured in +.\" USER_HZ instead, so that sysconf(_SC_CLK_TCK) could be used to +.\" convert to seconds. I have a queued patch to fix this: +.\" http://thread.gmane.org/gmane.linux.kernel/698061/ . +.\" Maybe it will make it into 2.6.27. +.\" But note that these fields still don't return the times of +.\" waited for children (as is done by getrusage() and times() +.\" and wait4()). Solaris 8 does include child times. .IP * .IR si_int " and " si_ptr are specified by the sender of the POSIX.1b signal.