summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-05-06 22:37:43 +0000
committermillert <millert@openbsd.org>2017-05-06 22:37:43 +0000
commit34a1a906cda50eba5e551c7cea3930f6660fa2e2 (patch)
tree4c03ea15f2999a063e6726d5b682e4757d1fd633 /lib/libc
parentBring in an SSL_HANDSHAKE structure and commence the great shovelling (diff)
downloadwireguard-openbsd-34a1a906cda50eba5e551c7cea3930f6660fa2e2.tar.xz
wireguard-openbsd-34a1a906cda50eba5e551c7cea3930f6660fa2e2.zip
Move info about group handling via a negative pid into the list
with the other pid-specific details.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/kill.218
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index c4947e9b9dd..20bdf56af0b 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.24 2017/05/05 15:48:50 millert Exp $
+.\" $OpenBSD: kill.2,v 1.25 2017/05/06 22:37:43 millert Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)kill.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: May 5 2017 $
+.Dd $Mdocdate: May 6 2017 $
.Dt KILL 2
.Os
.Sh NAME
@@ -87,6 +87,13 @@ system processes and the process sending the signal.
If the user is not the superuser, 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.
+.It \&If Fa pid No \&is negative but not -1 :
+.Fa sig
+is sent to all processes whose process group ID
+is equal to the absolute value of
+.Fa pid ;
+this is a variant of
+.Xr killpg 3 .
.El
.Pp
If the value of
@@ -121,13 +128,6 @@ The following signals are allowed through to this class of processes:
.Dv SIGHUP ,
.Dv SIGUSR1 ,
.Dv SIGUSR2 .
-.Pp
-For compatibility with System V,
-if the process number is negative but not \-1,
-the signal is sent to all processes whose process group ID
-is equal to the absolute value of the process number.
-This is a variant of
-.Xr killpg 3 .
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS