summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-10-11 12:37:09 +0000
committerjmc <jmc@openbsd.org>2006-10-11 12:37:09 +0000
commit04d0124676e74e75f02014e6628e40020abb42cb (patch)
treed026c9aa6b6b21b071cf893615253b06b2ebf765 /lib/libc
parentSuggest to use xargs(1) and give an example; started by jmc, ok jmc@ (diff)
downloadwireguard-openbsd-04d0124676e74e75f02014e6628e40020abb42cb.tar.xz
wireguard-openbsd-04d0124676e74e75f02014e6628e40020abb42cb.zip
SIGCONT may be sent to any process with the same session ID as the caller,
not to any process that is a descendant of the current process. from ryan younce (freebsd pr #58710); confirmed by otto and ok
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/compat-43/killpg.34
-rw-r--r--lib/libc/sys/kill.24
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/compat-43/killpg.3 b/lib/libc/compat-43/killpg.3
index d070d01981c..50ba18430ec 100644
--- a/lib/libc/compat-43/killpg.3
+++ b/lib/libc/compat-43/killpg.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: killpg.3,v 1.9 2003/06/02 20:18:33 millert Exp $
+.\" $OpenBSD: killpg.3,v 1.10 2006/10/11 12:37:09 jmc Exp $
.\"
.Dd March 10, 1991
.Dt KILLPG 3
@@ -56,7 +56,7 @@ The sending process and members of the process group must
have the same effective user ID, or
the sender must be the superuser.
As a single special case the continue signal SIGCONT may be sent
-to any process that is a descendant of the current process.
+to any process with the same session ID as the caller.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
Otherwise, a value of \-1 is returned and the global variable
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index c507fa247d7..9a94675ec8a 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.15 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: kill.2,v 1.16 2006/10/11 12:37:09 jmc Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -67,7 +67,7 @@ that of the sending process or the user must have appropriate privileges
A single exception is the signal
.Dv SIGCONT ,
which may always be sent
-to any descendant of the current process.
+to any process with the same session ID as the caller.
.Bl -tag -width Ds
.It \&If Fa pid No \&is greater than zero :
.Fa sig