kill.2: CONFORMING TO: add POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-04-18 07:47:26 +02:00
parent 03e52a0ace
commit 80f75fab3f
1 changed files with 4 additions and 4 deletions

View File

@ -119,7 +119,7 @@ has not yet been
.BR wait (2)ed .BR wait (2)ed
for. for.
.SH CONFORMING TO .SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001. POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
.SH NOTES .SH NOTES
The only signals that can be sent to process ID 1, the The only signals that can be sent to process ID 1, the
.I init .I init
@ -129,13 +129,13 @@ has explicitly installed signal handlers.
This is done to assure the This is done to assure the
system is not brought down accidentally. system is not brought down accidentally.
.LP .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, to all processes that the calling process may send signals to,
except possibly for some implementation-defined system processes. except possibly for some implementation-defined system processes.
Linux allows a process to signal itself, but on Linux the call Linux allows a process to signal itself, but on Linux the call
\fIkill(\-1,sig)\fP does not signal the calling process. \fIkill(\-1,sig)\fP does not signal the calling process.
.LP .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 the sending thread does not have the signal blocked,
and no other thread and no other thread
has it unblocked or is waiting for it in 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 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 effective user ID of the sender matched either the real or effective
user ID of the target. 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. in kernel 1.3.78.
.SH BUGS .SH BUGS
In 2.6 kernels up to and including 2.6.7, In 2.6 kernels up to and including 2.6.7,