From b688661172d5fea158b6ce35a894b5a1c7f712fb Mon Sep 17 00:00:00 2001 From: millert Date: Fri, 16 Jan 2015 21:31:27 +0000 Subject: [PATCH] Document behavior of killing process 0, matching the text in kill(2). From Theo Buehler --- bin/kill/kill.1 | 7 +++++-- 1 file 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 -- 2.20.1