Mention that pid 1 is not affected by kill(-1, SIGXXX) too.

This commit is contained in:
Ruslan Ermilov 1999-06-18 10:24:12 +00:00
parent 1681d65976
commit ca9807fc17

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)kill.2 8.3 (Berkeley) 4/19/94
.\" $Id: kill.2,v 1.6 1997/02/22 15:03:55 peter Exp $
.\" $Id: kill.2,v 1.7 1997/04/11 18:47:03 bde Exp $
.\"
.Dd April 19, 1994
.Dt KILL 2
@ -84,7 +84,11 @@ this is a variant of
.It \&If Fa pid No \&is -1 :
If the user has super-user privileges,
the signal is sent to all processes excluding
system processes and the process sending the signal.
system processes
.Pq whose have Dv P_SYSTEM flag set ,
process with ID 1
.Pq usually Xr init 8 ,
and the process sending the signal.
If the user is not the super user, the signal is sent to all processes
with the same uid as the user excluding the process sending the signal.
No error is returned if any process could be signaled.
@ -124,7 +128,8 @@ of the group could not be signaled.
.Xr getpgrp 2 ,
.Xr getpid 2 ,
.Xr killpg 2 ,
.Xr sigaction 2
.Xr sigaction 2 ,
.Xr init 8
.Sh STANDARDS
The
.Fn kill