[Bug 197608] timeout(1) does not handle zombie grandchildren

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 14 12:12:03 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197608

--- Comment #4 from Ed Maste <emaste at freebsd.org> ---
It's not sufficient because it needs to loop and collect all outstanding
zombies. E.g. with this version of zombie.c (also attached) it still waits:

#include <stdlib.h>
#include <unistd.h>

int main ()
{
        int i;

        for (i = 0; i < 10; i++)
                if (fork() == 0)
                        exit (0);
        sleep (1);
        return (0);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list