summaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-01-16 21:31:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-01-16 21:31:28 +0000
commitf86c3396f5e0757a33490f4040e304e16b108e9b (patch)
treeb91af7af99f36fc1c78d33874fb1b3deb5502712 /bin/kill
parent22f7f68646dc44d93055d7120c25ea0e3e1945fc (diff)
Document behavior of killing process 0, matching the text in kill(2).
From Theo Buehler
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.17
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index c0a505d9398..a3563036d2e 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.1,v 1.37 2014/10/13 09:27:22 dlg Exp $
+.\" $OpenBSD: kill.1,v 1.38 2015/01/16 21:31:27 millert Exp $
.\" $NetBSD: kill.1,v 1.8 1995/09/07 06:30:26 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)kill.1 8.2 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: October 13 2014 $
+.Dd $Mdocdate: January 16 2015 $
.Dt KILL 1
.Os
.Sh NAME
@@ -99,6 +99,9 @@ The following PIDs have special meanings:
.It \-1
If superuser, broadcast the signal to all processes; otherwise, broadcast
to all processes belonging to the user.
+.It 0
+Send the signal to all processes whose group ID is equal to the
+process group ID of the sender, and for which the process has permission.
.It \- Ns Ar pgid
Send the signal to all processes within the specified process group.
.El