From nobody@FreeBSD.ORG  Tue Jun 13 09:46:47 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B509537BF81; Tue, 13 Jun 2000 09:46:47 -0700 (PDT)
Message-Id: <20000613164647.B509537BF81@hub.freebsd.org>
Date: Tue, 13 Jun 2000 09:46:47 -0700 (PDT)
From: shh@ricochet.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT
X-Send-Pr-Version: www-1.0

>Number:         19247
>Category:       kern
>Synopsis:       uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-threads
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 13 09:50:01 PDT 2000
>Closed-Date:    Fri Nov 16 18:27:12 UTC 2007
>Last-Modified:  Fri Nov 16 18:27:12 UTC 2007
>Originator:     Shiv Haris
>Release:        3.2, 4.0
>Organization:
none
>Environment:
>Description:
THe man page (and also the kernel) do honor SA_NOCLDWAIT for sigaction.

However the threads library prevents letting this be used as it
silently bypasses this SIGCHLD processing.

Here is the man page snipet:


 SA_NOCLDWAIT    If this bit is set when calling sigaction() for the
                           SIGCHLD signal, the system will not create zombie
                           processes when children of the calling process ex-
                           it.  If the calling process subsequently issues a
                           wait(2) (or equivalent), it blocks until all of the
                           calling process's child processes terminate, and
                           then returns a value of -1 with errno set to
                           ECHILD.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jasone 
Responsible-Changed-By: jasone 
Responsible-Changed-When: Mon Oct 23 14:33:25 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer. 
Responsible-Changed-From-To: jasone->freebsd-bugs 
Responsible-Changed-By: jasone 
Responsible-Changed-When: Sat May 11 15:20:51 PDT 2002 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=19247 
Responsible-Changed-From-To: freebsd-bugs->freebsd-threads 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 18:35:26 PDT 2003 
Responsible-Changed-Why:  
Assign to threads mailing list 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19247 
State-Changed-From-To: open->suspended 
State-Changed-By: maxim 
State-Changed-When: Mon Apr 24 19:32:55 UTC 2006 
State-Changed-Why:  
In RELENG_5,6 and HEAD libc_r is deprecated in favour of 
libpthread and libthr.  Nobody is working on libc_r bugs 
so mark this PR as suspended. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19247 
State-Changed-From-To: suspended->closed 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 18:26:51 UTC 2007 
State-Changed-Why:  

libc_r is no longer supported 

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