TracerPid in /proc/<n>/status is wrong

Message ID m13qFZf-001qifC@microdog
State New, archived
Headers show
  • TracerPid in /proc/<n>/status is wrong
Related show

Commit Message

Mike Coleman Oct. 30, 2000, 2:06 p.m. UTC

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.)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at


--- 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 @@ 
-		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);