• L
    x86: make traps on 'iret' be debuggable in user space · a879cbbb
    Linus Torvalds 提交于
    This makes a trap on the 'iret' that returns us to user space
    cause a nice clean SIGSEGV, instead of just a hard (and silent)
    exit.
    
    That way a debugger can actually try to see what happened, and
    we also properly notify everybody who might be interested about
    us being gone.
    
    This loses the error code, but tells the debugger what happened
    with ILL_BADSTK in the siginfo.
    a879cbbb
entry.S 21.3 KB