HOWTO hide a process.

From: Lukas Dobrek (dobrek@itp.uni-hannover.de)
Date: Sun Aug 05 2001 - 07:09:42 EST


Hi,
I am very new in kernel stuff, so I dont know if it is a feature or
a some kind of bug, but using several line code one can somhow hide a
proces. The process is not visible for any known me ps tool.
If I lode the module:

struct task_struct * task;
task=find_task_by_pid(<pid>);
task->pid=0;

I can not see this task using ps, top, pstree but it is running.
I know that if one is able to load modules one can do a lot,
but I was just suprise that it is so simple.

Perhaps it will cause problems letter but now it works.

Best regards
Lukasz

-- 
£ukasz Dobrek
Institut für Theoretische Physik
Appelstraße 2, 30167 Hannover, Germany
e-mail:dobrek@itp.uni-hannover.de


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:34 EST