* [PATCH] TracerPid in /proc/<n>/status is wrong
@ 2000-10-30 14:06 Mike Coleman
0 siblings, 0 replies; only message in thread
From: Mike Coleman @ 2000-10-30 14:06 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Linus,
This patch fixes the bogus value of the TracerPid field in /proc/<n>/status.
(I thought was patched several months back, but I guess it wasn't, or it got
mistakenly backed out.)
--Mike
--- fs/proc/array.c-dist Fri Sep 1 16:32:17 2000
+++ fs/proc/array.c Mon Oct 30 08:02:35 2000
@@ -157,7 +157,7 @@
"Uid:\t%d\t%d\t%d\t%d\n"
"Gid:\t%d\t%d\t%d\t%d\n",
get_task_state(p),
- p->pid, p->p_opptr->pid, p->p_pptr->pid != p->p_opptr->pid ? p->p_opptr->pid : 0,
+ p->pid, p->p_opptr->pid, p->p_pptr->pid != p->p_opptr->pid ? p->p_pptr->pid : 0,
p->uid, p->euid, p->suid, p->fsuid,
p->gid, p->egid, p->sgid, p->fsgid);
read_unlock(&tasklist_lock);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-10-30 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-30 14:06 [PATCH] TracerPid in /proc/<n>/status is wrong Mike Coleman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox