]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Disable KPROBES with DEBUG_RODATA for now
authorAndi Kleen <ak@suse.de>
Wed, 20 Jun 2007 10:23:35 +0000 (12:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 20 Jun 2007 21:27:26 +0000 (14:27 -0700)
commit01c43b972e65cad12509a58639860b6e821a37eb
tree64ecf0214b425e42013b631d8acdcacfafa43048
parent7b63859f7e9c0400e5922463d694666ebc86f3a1
x86: Disable KPROBES with DEBUG_RODATA for now

Right now Kprobes cannot write to the write protected kernel text when
DEBUG_RODATA is enabled. Disallow this in Kconfig for now.

Temporary fix for 2.6.22. In .23 add code to temporarily
unprotect it.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/Kconfig.debug
arch/x86_64/Kconfig.debug