mirror of https://github.com/mkerrisk/man-pages
Renamed LINUX HISTORY section to LINUX NOTES, and relocated within page.
This commit is contained in:
parent
19c98696a2
commit
cc171723b1
22
man2/kill.2
22
man2/kill.2
|
@ -125,17 +125,7 @@ has it unblocked or is waiting for it in
|
|||
at least one
|
||||
unblocked signal must be delivered to the sending thread before the
|
||||
.BR kill ().
|
||||
.SH BUGS
|
||||
In 2.6 kernels up to and including 2.6.7,
|
||||
there was a bug that meant that when sending signals to a process group,
|
||||
.BR kill ()
|
||||
failed with the error
|
||||
.B EPERM
|
||||
if the caller did have permission to send the signal to \fIany\fP (rather
|
||||
than \fIall\fP) of the members of the process group.
|
||||
Notwithstanding this error return, the signal was still delivered
|
||||
to all of the processes for which the caller had permission to signal.
|
||||
.SH "LINUX HISTORY"
|
||||
.SH "LINUX NOTES"
|
||||
Across different kernel versions, Linux has enforced different rules
|
||||
for the permissions required for an unprivileged process
|
||||
to send a signal to another process.
|
||||
|
@ -149,6 +139,16 @@ effective user ID of the sender matched either the real or effective
|
|||
user ID of the receiver.
|
||||
The current rules, which conform to POSIX.1-2001, were adopted
|
||||
in kernel 1.3.78.
|
||||
.SH BUGS
|
||||
In 2.6 kernels up to and including 2.6.7,
|
||||
there was a bug that meant that when sending signals to a process group,
|
||||
.BR kill ()
|
||||
failed with the error
|
||||
.B EPERM
|
||||
if the caller did have permission to send the signal to \fIany\fP (rather
|
||||
than \fIall\fP) of the members of the process group.
|
||||
Notwithstanding this error return, the signal was still delivered
|
||||
to all of the processes for which the caller had permission to signal.
|
||||
.SH "CONFORMING TO"
|
||||
SVr4, 4.3BSD, POSIX.1-2001
|
||||
.SH "SEE ALSO"
|
||||
|
|
Loading…
Reference in New Issue