From 07196fdb64f450d8d29390ac5f1297bdbe51542b Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Wed, 13 Feb 2013 18:52:45 +0400 Subject: [PATCH] Fix for commit 15b31911841bc8ebbd779a658dcde6e8d104e268 --- kprobe/dbi_kprobes_deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kprobe/dbi_kprobes_deps.c b/kprobe/dbi_kprobes_deps.c index 79da725..77d9e2a 100644 --- a/kprobe/dbi_kprobes_deps.c +++ b/kprobe/dbi_kprobes_deps.c @@ -236,7 +236,7 @@ int init_module_dependencies(void) #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 29) init_mm_ptr = (struct mm_struct*)swap_ksyms("init_mm"); - memcpy(init_mm_ptr, &init_mm, sizeof(struct mm_struct)); +// memcmp(init_mm_ptr, &init_mm, sizeof(struct mm_struct)); #endif #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 18) -- 2.7.4