• Linus Torvalds's avatar
    Make sure SIGKILL gets proper respect · 188a1eaf
    Linus Torvalds authored
    Bhavesh P. Davda <bhavesh@avaya.com> noticed that SIGKILL wouldn't
    properly kill a process under just the right cicumstances: a stopped
    task that already had another signal queued would get the SIGKILL
    queued onto the shared queue, and there it would remain until SIGCONT.
    
    This simplifies the signal acceptance logic, and fixes the bug in the
    process.
    
    Losely based on an earlier patch by Bhavesh.
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    188a1eaf
signal.c 68.7 KB