x86: make traps on entry code be debuggable in user space, 64-bit
authorRoland McGrath <roland@redhat.com>
Wed, 6 Feb 2008 21:39:43 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 6 Feb 2008 21:39:43 +0000 (22:39 +0100)
commit3aa4b37d3e899cfe7a9cbdcda2b277df4c1f210d
treef0a7c5ddaf7e38c7305096b1dba8b12b4f1b8c27
parent551e4fb2465b87de9d4aa1669b27d624435443bb
x86: make traps on entry code be debuggable in user space, 64-bit

Unify the x86-64 behavior for 32-bit processes that set
bogus %cs/%ss values (the only ones that can fault in iret)
match what the native i386 behavior is. (do not kill the task
via do_exit but generate a SIGSEGV signal)

[ tglx@linutronix.de: build fix ]

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S