bin/48856: Setting SIGCHLD to SIG_IGN still leaves

Alex Semenyaka alexs at ratmir.ru
Thu Apr 3 04:20:19 PST 2003


The following reply was made to PR bin/48856; it has been noted by GNATS.

From: Alex Semenyaka <alexs at ratmir.ru>
To: Joel Ray Holveck <joelh at gnu.org>
Cc: Alex Semenyaka <alexs at ratmir.ru>,
	freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/48856: Setting SIGCHLD to SIG_IGN still leaves
Date: Thu, 3 Apr 2003 16:11:38 +0400

 On Tue, Apr 01, 2003 at 01:26:34PM -0800, Joel Ray Holveck wrote:
 > Thanks for the clarification, Alex, and the patch!  I learned about
 > using fork on SysV, and I guess I assumed it was POSIX law.
 
 Np :)
  
 > I'll play around with your patch.  I have some concerns about what it
 > would do to a program that calls wait, but that's something I can
 > experiment with.
 
 Well I suppose wait() will assume that there are no children died. Since
 zombie in nothing but kernel information for wait about the dead child.
 So you should choose either use wait and have zombies or use my patch,
 have no zombies and does not use wait.
 
 								SY, Alex


More information about the freebsd-bugs mailing list