summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kprobe/dbi_kprobes.c2
-rw-r--r--kprobe/dbi_kprobes_deps.c1
-rw-r--r--kprobe/dbi_kprobes_deps.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/kprobe/dbi_kprobes.c b/kprobe/dbi_kprobes.c
index fd653c0c..20d70418 100644
--- a/kprobe/dbi_kprobes.c
+++ b/kprobe/dbi_kprobes.c
@@ -987,14 +987,12 @@ static int init_module_deps(void)
int ret;
sched_addr = swap_ksyms("__switch_to");
- fork_addr = swap_ksyms("do_fork");
exit_addr = swap_ksyms("do_exit");
sys_exit_group_addr = swap_ksyms("sys_exit_group");
do_group_exit_addr = swap_ksyms("do_group_exit");
sys_exit_addr = swap_ksyms("sys_exit");
if (sched_addr == 0 ||
- fork_addr == 0 ||
exit_addr == 0 ||
sys_exit_group_addr == 0 ||
do_group_exit_addr == 0 ||
diff --git a/kprobe/dbi_kprobes_deps.c b/kprobe/dbi_kprobes_deps.c
index 07fe4a63..667c283e 100644
--- a/kprobe/dbi_kprobes_deps.c
+++ b/kprobe/dbi_kprobes_deps.c
@@ -37,7 +37,6 @@
#include <linux/mm.h>
unsigned long sched_addr;
-unsigned long fork_addr;
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 29)
/* kernel define 'pgd_offset_k' redefinition */
diff --git a/kprobe/dbi_kprobes_deps.h b/kprobe/dbi_kprobes_deps.h
index 8024d99e..43c9879d 100644
--- a/kprobe/dbi_kprobes_deps.h
+++ b/kprobe/dbi_kprobes_deps.h
@@ -95,7 +95,6 @@ int access_process_vm_atomic(struct task_struct *tsk, unsigned long addr, void *
int page_present (struct mm_struct *mm, unsigned long addr);
extern unsigned long sched_addr;
-extern unsigned long fork_addr;
DECLARE_MOD_DEP_WRAPPER (__flush_anon_page, \
void, struct vm_area_struct *vma, \