Staging
v0.5.1
https://github.com/torvalds/linux
Revision c33d4568aca9028a22857f94f5e0850012b6444b authored by Andi Kleen on 12 March 2006, 22:52:59 UTC, committed by Linus Torvalds on 13 March 2006, 06:56:29 UTC
EM64T CPUs have somewhat weird error reporting for non canonical RIPs in
SYSRET.

We can't handle any exceptions there because the exception handler would
end up running on the user stack which is unsafe.

To avoid problems any code that might end up with a user touched pt_regs
should return using int_ret_from_syscall.  int_ret_from_syscall ends up
using IRET, which allows safe exceptions.

Cc: Ernie Petrides <petrides@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 31fe4d3
History
Tip revision: c33d4568aca9028a22857f94f5e0850012b6444b authored by Andi Kleen on 12 March 2006, 22:52:59 UTC
[PATCH] x86-64: Fix up handling of non canonical user RIPs
Tip revision: c33d456
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 66.2 KB
Makefile -rw-r--r-- 43.8 KB
README -rw-r--r-- 15.1 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top