• Linus Torvalds's avatar
    When forcing through a signal for some thread-synchronous · 9e008c3c
    Linus Torvalds authored
    event (ie SIGSEGV, SIGFPE etc that happens as a result of a
    trap as opposed to an external event), if the signal is
    blocked we will not invoce a signal handler, we will just
    kill the thread with the signal.
    
    This is equivalent to what we do in the SIG_IGN case: you
    cannot ignore or block synchronous signals, and if you try,
    we'll just have to kill you.
    
    We don't want to handle endless recursive faults, which the
    old behaviour easily led to if the stack was bad, for example.
    9e008c3c
signal.c 61 KB