kernel-ark/arch/x86_64/kernel
Prasanna S Panchamukhi c28f896634 [PATCH] kprobes: fix broken fault handling for x86_64
Provide proper kprobes fault handling, if a user-specified pre/post handlers
tries to access user address space, through copy_from_user(), get_user() etc.

The user-specified fault handler gets called only if the fault occurs while
executing user-specified handlers.  In such a case user-specified handler is
allowed to fix it first, later if the user-specifed fault handler does not fix
it, we try to fix it by calling fix_exception().

The user-specified handler will not be called if the fault happens when single
stepping the original instruction, instead we reset the current probe and
allow the system page fault handler to fix it up.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:04 -08:00
..
acpi
cpufreq
aperture.c [PATCH] x86_64: Search K8 devices on more devices. 2006-03-25 09:14:38 -08:00
apic.c [PATCH] x86_64: timer interrupt lockup due to pending interrupt 2006-03-25 09:10:57 -08:00
asm-offsets.c
crash_dump.c
crash.c
e820.c
early_printk.c
entry.S [PATCH] x86_64: Report SIGSEGV for IRET faults 2006-03-25 09:14:39 -08:00
functionlist [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c
head.S [PATCH] x86_64: Patch to make the head.S-must-be-first-in-vmlinux order explicit 2006-03-25 09:10:55 -08:00
i387.c
i8259.c
init_task.c
io_apic.c [PATCH] x86_64: fix orphaned bits of timer init messages 2006-03-25 09:10:56 -08:00
ioport.c
irq.c
kprobes.c [PATCH] kprobes: fix broken fault handling for x86_64 2006-03-26 08:57:04 -08:00
ldt.c
machine_kexec.c
Makefile
mce_amd.c
mce_intel.c
mce.c
module.c
mpparse.c
nmi.c
pci-dma.c [PATCH] x86_64: Don't invoke OOM killer during dma_alloc_coherent() 2006-03-25 09:10:55 -08:00
pci-gart.c [PATCH] x86_64: Search K8 devices on more devices. 2006-03-25 09:14:38 -08:00
pci-nommu.c
pci-swiotlb.c
pmtimer.c [PATCH] x86_64: Add cpu_relax() to busy loops in PM timer code 2006-03-25 09:14:39 -08:00
process.c [PATCH] kretprobe instance recycled by parent process 2006-03-26 08:57:04 -08:00
ptrace.c
reboot.c
relocate_kernel.S
setup64.c [PATCH] x86_64: Change default setting for noexec32 to match i386 kernel 2006-03-25 09:10:56 -08:00
setup.c [PATCH] x86_64: Remove bogus special case in AMD core parsing. 2006-03-25 09:14:39 -08:00
signal.c
smp.c [PATCH] x86_64: Use cpumask bitops for cpu_vm_mask 2006-03-25 09:10:56 -08:00
smpboot.c
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c [PATCH] x86_64: Reename CMOS update warning 2006-03-25 09:10:55 -08:00
trampoline.S
traps.c
vmlinux.lds.S [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
vsmp.c
vsyscall.c
x8664_ksyms.c [PATCH] x86_64: Eliminate register_die_notifier symbol exported 2006-03-25 09:14:38 -08:00