Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 09:46:47 -0700 (PDT)
From:      shh@ricochet.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/19247: uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT
Message-ID:  <20000613164647.B509537BF81@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19247
>Category:       kern
>Synopsis:       uthread_sigaction.c does not do anything wrt SA_NOCLDWAIT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 13 09:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000613164647.B509537BF81>