From ryan@turing.vangyzen.net  Thu Oct 23 00:56:43 2003
Return-Path: <ryan@turing.vangyzen.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 08F8216A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2003 00:56:43 -0700 (PDT)
Received: from turing.vangyzen.net (turing.vangyzen.net [152.3.22.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 132FA43FE1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2003 00:56:42 -0700 (PDT)
	(envelope-from ryan@turing.vangyzen.net)
Received: by turing.vangyzen.net (Postfix, from userid 1010)
	id C849911532; Thu, 23 Oct 2003 04:19:09 -0400 (EDT)
Message-Id: <20031023081909.C849911532@turing.vangyzen.net>
Date: Thu, 23 Oct 2003 04:19:09 -0400 (EDT)
From: Ryan Younce <ryan@tribug.org>
Reply-To: Ryan Younce <ryany@pobox.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: kill(2) contains an error regarding sending SIGCONT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58413
>Category:       docs
>Synopsis:       kill(2) contains an error regarding sending SIGCONT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kensmith
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 01:00:27 PDT 2003
>Closed-Date:    Fri Oct 24 15:04:26 PDT 2003
>Last-Modified:  Fri Oct 24 15:04:26 PDT 2003
>Originator:     Ryan Younce
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD turing.vangyzen.net 5.1-BETA FreeBSD 5.1-BETA #0: Tue May 6 12:07:36 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

>Description:

The kill(2) manual page for CURRENT states "A single exception is the
signal SIGCONT, which may always be sent to any descendent of the current
process."

In CURRENT, however, this provision is false:  the process can send
SIGCONT to any other process in the caller's session (to align with POSIX).

Behavior has been tested, also reference:
p_cansignal() function in /sys/kern/kern_prot.c

>How-To-Repeat:

man 2 kill

>Fix:

Change sentence in question to:

	"A single exception is the signal SIGCONT, which may always be sent
	to any process with the same session ID as the caller."

or something similar.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->kensmith 
Responsible-Changed-By: kensmith 
Responsible-Changed-When: Thu Oct 23 14:49:40 PDT 2003 
Responsible-Changed-Why:  

I'll give this a try. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=58413 
State-Changed-From-To: open->closed 
State-Changed-By: kensmith 
State-Changed-When: Fri Oct 24 15:03:19 PDT 2003 
State-Changed-Why:  

Your change has been committed to -current and will be MFCed shortly. 
Thanks. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=58413 
>Unformatted:
