From 9b30d70a7d9e6ab78dcba7a21366215a984ae6fa Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Mon, 10 Dec 2012 14:29:47 -0500 Subject: [PATCH] Port to latest version of 3.6 series --- procprotect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/procprotect.c b/procprotect.c index c1c0162..b8b339e 100644 --- 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 = - (kprobe_opcode_t *) kallsyms_lookup_name("do_lookup"); + (kprobe_opcode_t *) kallsyms_lookup_name("lookup_fast"); 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; } -- 2.43.0