From 80f75fab3f8af66299a3664c01bc4535a53bfd4b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 18 Apr 2015 07:47:26 +0200 Subject: [PATCH] kill.2: CONFORMING TO: add POSIX.1-2008 Signed-off-by: Michael Kerrisk --- man2/kill.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man2/kill.2 b/man2/kill.2 index abd780789..857433a5c 100644 --- a/man2/kill.2 +++ b/man2/kill.2 @@ -119,7 +119,7 @@ has not yet been .BR wait (2)ed for. .SH CONFORMING TO -SVr4, 4.3BSD, POSIX.1-2001. +POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. .SH NOTES The only signals that can be sent to process ID 1, the .I init @@ -129,13 +129,13 @@ has explicitly installed signal handlers. This is done to assure the system is not brought down accidentally. .LP -POSIX.1-2001 requires that \fIkill(\-1,sig)\fP send \fIsig\fP +POSIX.1 requires that \fIkill(\-1,sig)\fP send \fIsig\fP to all processes that the calling process may send signals to, except possibly for some implementation-defined system processes. Linux allows a process to signal itself, but on Linux the call \fIkill(\-1,sig)\fP does not signal the calling process. .LP -POSIX.1-2001 requires that if a process sends a signal to itself, +POSIX.1 requires that if a process sends a signal to itself, and the sending thread does not have the signal blocked, and no other thread has it unblocked or is waiting for it in @@ -156,7 +156,7 @@ or the real user ID of the sender matched the real user ID of the target. From kernel 1.2.3 until 1.3.77, a signal could be sent if the effective user ID of the sender matched either the real or effective user ID of the target. -The current rules, which conform to POSIX.1-2001, were adopted +The current rules, which conform to POSIX.1, were adopted in kernel 1.3.78. .SH BUGS In 2.6 kernels up to and including 2.6.7,