]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Kprobes causes NX protection fault on i686 SMP
authorPrasanna S Panchamukhi <prasanna@in.ibm.com>
Fri, 24 Feb 2006 21:04:08 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:37 +0000 (14:31 -0800)
commit02ed39ad419b8c7a3ee2fed795f74bd86fbaa1dc
tree6e9a53f6bee52bb551724ec29e7710a656fbb187
parent6cdd7468e29e56c1a95a8757be8e8995e35e68d2
[PATCH] Kprobes causes NX protection fault on i686 SMP

Fix a problem seen on i686 machine with NX support where the instruction
could not be single stepped because of NX bit set on the memory pages
allocated by kprobes module.  This patch provides allocation of instruction
solt so that the processor can execute the instruction from that location
similar to x86_64 architecture.  Thanks to Bibo and Masami for testing this
patch.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/kprobes.c
include/asm-i386/kprobes.h