]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit566064f0cf869d0373f460074bae1a217f87e6e8
treef0a7c5ddaf7e38c7305096b1dba8b12b4f1b8c27
parent7b5de80b2fd716d25661d109b3b4fb1852b67574
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