• Linus Torvalds's avatar
    wait_task_stopped() must not just return 0 when it has · 56b4c820
    Linus Torvalds authored
    released the tasklist_lock.
    
    Since it released the lock, the process lists may not
    be valid any more, and we must repeat the loop rather than
    continue with the next parent.
    
    Use -EAGAIN to show this condition (separate from the
    normal -EFAULT that may happen if rusage information could
    not be copied to user space).
    56b4c820
exit.c 37.9 KB