projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad90573
)
[PATCH] x86_64: Report SIGSEGV for IRET faults
author
Andi Kleen
<ak@suse.de>
Sat, 25 Mar 2006 15:31:55 +0000
(16:31 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:14:39 +0000
(09:14 -0800)
tcsh is not happy with the -9999 error code.
Suggested by Ernie Petrides
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/entry.S
b/arch/x86_64/kernel/entry.S
index 7c10e9009d611173d13fddf90650a9dfe78ec7db..8538bfea30e6b7841904387f45e8c72e49599413 100644
(file)
--- a/
arch/x86_64/kernel/entry.S
+++ b/
arch/x86_64/kernel/entry.S
@@
-553,7
+553,7
@@
iret_label:
/* force a signal here? this matches i386 behaviour */
/* running with kernel gs */
bad_iret:
- movq $
-9999,%rdi /* better code?
*/
+ movq $
11,%rdi /* SIGSEGV
*/
sti
jmp do_exit
.previous