aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/mach-generic/default.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 09:38:44 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 09:38:44 -0700
commita879cbbb34cbecfa9707fbb6e5a00c503ac1ecb9 (patch)
treefdf247f8dedea8f04d0989aeab6922ed073eee11 /arch/i386/mach-generic/default.c
parentc06fec5022ebe014af876da2df4a0eee836e97c8 (diff)
x86: make traps on 'iret' be debuggable in user space
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.
Diffstat (limited to 'arch/i386/mach-generic/default.c')
0 files changed, 0 insertions, 0 deletions