summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-05-19 20:55:28 +0000
committerguenther <guenther@openbsd.org>2013-05-19 20:55:28 +0000
commit357a046126780c5d96485ae1ac6e310a384be285 (patch)
tree16aac4add55e48211713a5422a19fa9ba335684d
parentSwitch mvme68k to MI wdsc(4) driver. Tested on MVME147. (diff)
downloadwireguard-openbsd-357a046126780c5d96485ae1ac6e310a384be285.tar.xz
wireguard-openbsd-357a046126780c5d96485ae1ac6e310a384be285.zip
If pid<0, kill() won't fail with EPERM unless none of the target processes
could be signaled.
-rw-r--r--lib/libc/sys/kill.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index b7e8d00429e..8686f392969 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.18 2013/03/30 06:44:44 guenther Exp $
+.\" $OpenBSD: kill.2,v 1.19 2013/05/19 20:55:28 guenther 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: March 30 2013 $
+.Dd $Mdocdate: May 19 2013 $
.Dt KILL 2
.Os
.Sh NAME
@@ -129,8 +129,8 @@ No process can be found corresponding to that specified by
.It Bq Er EPERM
The sending process is not the superuser and its effective
user ID does not match the effective user ID of the receiving process.
-When signaling a process group, this error is returned if any members
-of the group could not be signaled.
+When signaling a process group, this error is returned if none of the members
+of the group could be signaled.
.El
.Sh SEE ALSO
.Xr getpgrp 2 ,