[MBT] new entry in pkg kernel ""Hidden" processes after ptrace bugfix"
bugs at pld.org.pl
bugs at pld.org.pl
Mon Apr 14 13:59:03 CEST 2003
Date: 2003-04-14 13:58:59+02 Author: Jakub Bogusz (qboosh) <qboosh at pld.org.pl>
Title: "Hidden" processes after ptrace bugfix
Ticket ID: #629
Ticket URL: http://bugs.pld.org.pl/?bug=629
Package: kernel-2.4.20-4pl2
Distribution:
Category: doesn't work as it should
Current state: opened
Text:
ps aux can be fixed by (applying to patch):
-+ if (!is_dumpable(tsk) || (&init_mm == mm))
++ if ((!is_dumpable(tsk) || (&init_mm == mm)) && write)
Some people are reporting Oopses after patching ptrace (I couldn't
reproduce them on 2.4.18 on UP machine) - can be fixed by:
-+#define is_dumpable(tsk) ((tsk)->task_dumpable && (tsk)->mm->dumpable)
++#define is_dumpable(tsk) ((tsk)->task_dumpable && (tsk)->mm && (tsk)->mm->dumpable)
But ptrace() is still broken (e.g. strace -f httpd won't work).
More information about the pld-bugs
mailing list