From 5a1eaf7c05097d5e8c98e83a10db0feb8fa407e0 Mon Sep 17 00:00:00 2001 From: Vyacheslav Cherkashin Date: Tue, 7 May 2013 17:26:22 +0400 Subject: [PATCH] [REFACTOR] new interface at install_file_probes() -void install_file_probes(struct task_struct *task, struct mm_struct *mm, struct sspt_file *file) +void install_file_probes(struct sspt_file *file) --- driver/us_proc_inst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index 43c3180..4cf1d50 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -369,7 +369,7 @@ void install_page_probes(unsigned long page_addr, struct task_struct *task, stru mm_read_unlock(mm, atomic, lock); } -static void install_file_probes(struct task_struct *task, struct mm_struct *mm, struct sspt_file *file) +static void install_file_probes(struct sspt_file *file) { struct sspt_page *page = NULL; struct hlist_node *node = NULL; @@ -403,7 +403,7 @@ void install_proc_probes(struct task_struct *task, struct sspt_procs *procs) file->loaded = 1; } - install_file_probes(task, mm, file); + install_file_probes(file); } } } -- 2.7.4