linux/arch/x86_64/kernel
Andi Kleen c33d4568ac [PATCH] x86-64: Fix up handling of non canonical user RIPs
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>
2006-03-12 22:56:29 -08:00
..
acpi
cpufreq
Makefile [PATCH] x86-64: react to new topology.c location 2006-02-25 11:12:15 -08:00
aperture.c [PATCH] x86_64: no_iommu removal in pci-gart.c 2006-02-26 09:53:29 -08:00
apic.c Revert "[PATCH] x86_64: Only do the clustered systems have unsynchronized TSC assumption on IBM systems" 2006-02-27 20:41:56 -08:00
asm-offsets.c
crash.c
crash_dump.c
e820.c
early_printk.c
entry.S [PATCH] x86-64: Fix up handling of non canonical user RIPs 2006-03-12 22:56:29 -08:00
genapic.c
genapic_cluster.c
genapic_flat.c
head.S [PATCH] x86_64: Resolve the RIP of an early exception using kallsyms 2006-02-17 08:00:40 -08:00
head64.c
i387.c
i8259.c
init_task.c
io_apic.c [PATCH] x86_64: Better ATI timer fix 2006-02-26 09:53:31 -08:00
ioport.c
irq.c
kprobes.c
ldt.c
machine_kexec.c [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
mce.c [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. 2006-02-04 16:43:14 -08:00
mce_amd.c
mce_intel.c
module.c
mpparse.c [PATCH] Remove KERN_INFO from middle of printk line 2006-02-17 13:59:27 -08:00
nmi.c [PATCH] x86_64: make touch_nmi_watchdog() not touch impossible cpus' private data 2006-02-17 08:00:40 -08:00
pci-dma.c [PATCH] x86_64: Fix swiotlb dma_alloc_coherent fallback 2006-02-04 16:43:13 -08:00
pci-gart.c [PATCH] x86_64: no_iommu removal in pci-gart.c 2006-02-26 09:53:29 -08:00
pci-nommu.c [PATCH] x86_64: IOMMU printk cleanup 2006-02-04 16:43:15 -08:00
pci-swiotlb.c [PATCH] x86_64: IOMMU printk cleanup 2006-02-04 16:43:15 -08:00
pmtimer.c [PATCH] x86_64: Calibrate APIC timer using PM timer 2006-02-04 16:43:15 -08:00
process.c [PATCH] x86_64: Don't allow kprobes on __switch_to 2006-02-04 16:43:14 -08:00
ptrace.c
reboot.c
relocate_kernel.S
setup.c [PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU 2006-02-26 19:07:42 -08:00
setup64.c
signal.c
smp.c
smpboot.c [PATCH] x86_64: Move the SMP time selection earlier 2006-02-26 09:53:31 -08:00
suspend.c
suspend_asm.S
sys_x86_64.c
syscall.c
time.c [PATCH] x86_64: Move the SMP time selection earlier 2006-02-26 09:53:31 -08:00
trampoline.S
traps.c [PATCH] arch/x86_64/kernel/traps.c PTRACE_SINGLESTEP oops 2006-02-12 16:10:47 -08:00
vmlinux.lds.S [PATCH] x86_64: Let impossible CPUs point to reference per cpu data 2006-02-04 16:43:15 -08:00
vsmp.c
vsyscall.c
x8664_ksyms.c [PATCH] drive_info removal outside of arch/i386 2006-02-07 20:56:47 -05:00