OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d78f6
)
i386: fix signal type for iret exception
author
Jan Beulich
<jbeulich@novell.com>
Tue, 22 Apr 2008 15:19:25 +0000
(16:19 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Sat, 26 Apr 2008 15:35:46 +0000
(17:35 +0200)
.. since it uses ILL_BADSTK (which is meaningless in the context of
SIGSEGV).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/traps_32.c
b/arch/x86/kernel/traps_32.c
index
471e694
..
bde6f63
100644
(file)
--- a/
arch/x86/kernel/traps_32.c
+++ b/
arch/x86/kernel/traps_32.c
@@
-602,7
+602,7
@@
DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS)
DO_ERROR(11, SIGBUS, "segment not present", segment_not_present)
DO_ERROR(12, SIGBUS, "stack segment", stack_segment)
DO_ERROR_INFO(17, SIGBUS, "alignment check", alignment_check, BUS_ADRALN, 0, 0)
-DO_ERROR_INFO(32, SIG
SEGV
, "iret exception", iret_error, ILL_BADSTK, 0, 1)
+DO_ERROR_INFO(32, SIG
ILL
, "iret exception", iret_error, ILL_BADSTK, 0, 1)
void __kprobes do_general_protection(struct pt_regs *regs, long error_code)
{