Staging
v0.5.1
https://github.com/torvalds/linux
Revision 0864a4e201b1ea442f4c8b887418a29f67e24d30 authored by Arjan van de Ven on 21 June 2007, 05:23:21 UTC, committed by Linus Torvalds on 21 June 2007, 23:02:50 UTC
Do not mark the kernel text read only if KPROBES is in the kernel;
kprobes needs to hot-patch the kernel text to insert it's
instrumentation.

In this case, only mark the .rodata segment as read only.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Tested-by: S. P. Prasanna <prasanna@in.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: William Cohen <wcohen@redhat.com>
Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 79d9a72
History
Tip revision: 0864a4e201b1ea442f4c8b887418a29f67e24d30 authored by Arjan van de Ven on 21 June 2007, 05:23:21 UTC
Allow DEBUG_RODATA and KPROBES to co-exist
Tip revision: 0864a4e
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 87.8 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top