From ca9807fc17a636f9c44d344b502f7f81ad1dca94 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 18 Jun 1999 10:24:12 +0000 Subject: [PATCH] Mention that pid 1 is not affected by kill(-1, SIGXXX) too. --- lib/libc/sys/kill.2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 6234bc15886e..24a43915ea58 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