summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>1999-06-18 10:24:12 +0000
committerru <ru@FreeBSD.org>1999-06-18 10:24:12 +0000
commit4930acef371c7293d2ec4806b7cfcd56fc1a2288 (patch)
tree67c51572493a134b0f23643a1fd8a0a21dfe7e90 /lib
parent412b642b28fff70dfcfbb55a0b8e9684cb7a8912 (diff)
downloadFreeBSD-src-4930acef371c7293d2ec4806b7cfcd56fc1a2288.zip
FreeBSD-src-4930acef371c7293d2ec4806b7cfcd56fc1a2288.tar.gz
Mention that pid 1 is not affected by kill(-1, SIGXXX) too.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/kill.211
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 6234bc1..24a4391 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -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
OpenPOWER on IntegriCloud