linux-stable-rt/arch/powerpc
Prasanna S Panchamukhi 50e21f2b28 [PATCH] kprobes: fix broken fault handling for powerpc64
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: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:04 -08:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
kernel [PATCH] kprobes: fix broken fault handling for powerpc64 2006-03-26 08:57:04 -08:00
lib powerpc: fix strncasecmp prototype 2006-03-25 09:41:40 -08:00
mm [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
oprofile [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
platforms [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
sysdev Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
Kconfig.debug
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00