diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-11 12:37:10 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-11 12:37:10 +0000 |
commit | ea0721cc0aecc947be12d0196e8fea12cda9a241 (patch) | |
tree | 42fb16a78ed74c5e867708a91b68824b9c04d1cd /lib | |
parent | 718c9ff733977ea367e37869e02da1f772d32b08 (diff) |
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')
-rw-r--r-- | lib/libc/compat-43/killpg.3 | 4 | ||||
-rw-r--r-- | lib/libc/sys/kill.2 | 4 |
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 |