https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90038

--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, May 17, 2019 at 07:35:46PM +0000, jb at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90038
> 
> --- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
> (In reply to kargl from comment #4)
> > What does 'it' refer to?  fork() is leaving a zombie?
> > posix_spawn() is leaving a zombie?
> 
> posix_spawn. Though I guess the old fork() code suffers from the same issue as
> well, though I don't think anything is using that anymore.
> 

I haven't used posxi_spawn, and it's been awhile since
I used fork+execve in some code.  A quick look at the
posix_spwan manpage suggests we can use a combination
of POSIX_SPAWN_SETSIGMASK and POSIX_SPAWN_SETSIGDEF to
set up signal handlers to hopefully reap zombies.

Reply via email to