linux-stable-rt/arch
Prasanna S Panchamukhi b67000962f [PATCH] kprobes: fix broken fault handling for sparc64
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.

I could not test this patch for sparc64.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:05 -08:00
..
alpha [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
arm Merge master.kernel.org:/home/rmk/linux-2.6-serial 2006-03-25 20:31:32 -08:00
arm26 [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
cris [PATCH] set_page_dirty() return value fixes 2006-03-24 07:33:26 -08:00
frv [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
h8300 [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
i386 [PATCH] kprobes: fix broken fault handling for i386 2006-03-26 08:57:04 -08:00
ia64 [PATCH] kprobes: fix broken fault handling for ia64 2006-03-26 08:57:04 -08:00
m32r Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
m68k [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
m68knommu [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
mips [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
parisc [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
powerpc [PATCH] kprobes: fix broken fault handling for powerpc64 2006-03-26 08:57:04 -08:00
ppc Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
s390 [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
sh Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
sh64 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sparc [SPARC]: Try to start getting SMP back into shape. 2006-03-23 22:36:19 -08:00
sparc64 [PATCH] kprobes: fix broken fault handling for sparc64 2006-03-26 08:57:05 -08:00
um Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
v850 [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
x86_64 [PATCH] kprobes: fix broken fault handling for x86_64 2006-03-26 08:57:04 -08:00
xtensa [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00