https://github.com/torvalds/linux
Revision ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1 authored by Masami Hiramatsu on 28 July 2009, 23:47:23 UTC, committed by Linus Torvalds on 30 July 2009, 23:44:06 UTC
Use kernel_text_address() for checking probe address instead of
__kernel_text_address(), because __kernel_text_address() returns true
for init functions even after relaseing those functions.

That will hit a BUG() in text_poke().

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 90a09c9
History
Tip revision: ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1 authored by Masami Hiramatsu on 28 July 2009, 23:47:23 UTC
kprobes: Use kernel_text_address() for checking probe address
Tip revision: ec30c5f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.2 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top