git://git.onelab.eu
/
procprotect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
57acb7a
)
Port to latest version of 3.6 series
author
Sapan Bhatia
<gwsapan@gmail.com>
Mon, 10 Dec 2012 19:29:47 +0000
(14:29 -0500)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Mon, 10 Dec 2012 19:29:47 +0000
(14:29 -0500)
procprotect.c
patch
|
blob
|
history
diff --git
a/procprotect.c
b/procprotect.c
index
c1c0162
..
b8b339e
100644
(file)
--- a/
procprotect.c
+++ b/
procprotect.c
@@
-230,9
+230,9
@@
static int __init procprotect_init(void)
aclqpath.len = strnlen(aclpath, PATH_MAX);
proc_probe.kp.addr =
aclqpath.len = strnlen(aclpath, PATH_MAX);
proc_probe.kp.addr =
- (kprobe_opcode_t *) kallsyms_lookup_name("
do_lookup
");
+ (kprobe_opcode_t *) kallsyms_lookup_name("
lookup_fast
");
if (!proc_probe.kp.addr) {
if (!proc_probe.kp.addr) {
- printk("Couldn't find %s to plant kretprobe\n", "
do_execve
");
+ printk("Couldn't find %s to plant kretprobe\n", "
lookup_fast
");
return -1;
}
return -1;
}