• Ingo Molnar's avatar
    [PATCH] wait4-fix-2.5.34-A0, BK-curr · a969214c
    Ingo Molnar authored
    the attached patch (against BK-curr) fixes a sys_wait4() bug noticed by
    Ulrich Drepper. The kernel would not block properly if there are eligible
    children delayed due to the new delayed thread-group-leader logic. The
    solution is to introduce a new type of 'eligible child' type - and skip
    over delayed children but set the wait4 flag nevertheless.
    
    The libpthreads testcase that failed due to it now it works fine.
    a969214c
exit.c 20.4 KB