mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] i386: fix signal type for iret exception
@ 2008-04-22 15:19 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2008-04-22 15:19 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

.. since it uses ILL_BADSTK (which is meaningless in the context of
SIGSEGV).

Signed-off-by: Jan Beulich <jbeulich@novell.com>

---
 arch/x86/kernel/traps_32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.25/arch/x86/kernel/traps_32.c	2008-04-17 04:49:44.000000000 +0200
+++ 2.6.25-i386-sigill/arch/x86/kernel/traps_32.c	2008-04-15 10:49:20.000000000 +0200
@@ -592,7 +592,7 @@ DO_ERROR(10, SIGSEGV, "invalid TSS", inv
 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, SIGSEGV, "iret exception", iret_error, ILL_BADSTK, 0, 1)
+DO_ERROR_INFO(32, SIGILL, "iret exception", iret_error, ILL_BADSTK, 0, 1)
 
 void __kprobes do_general_protection(struct pt_regs * regs,
 					      long error_code)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-22 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-22 15:19 [PATCH] i386: fix signal type for iret exception Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®