Messages in this thread Patch in this message | | | Date | Sat, 18 Mar 2000 23:03:30 +0100 | From | Pavel Machek <> | Subject | I got TracerPID wrong at first try... |
| |
Hi!
And here's a fix:
Pavel --- clean//fs/proc/array.c Wed Mar 15 14:09:19 2000 +++ linux/fs/proc/array.c Wed Mar 15 14:07:36 2000 @@ -157,7 +157,8 @@ "FDSize:\t%d\n" "Groups:\t", 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->flags & (PF_PTRACED|PF_TRACESYS) ? p->p_pptr->pid : 0, p->uid, p->euid, p->suid, p->fsuid, p->gid, p->egid, p->sgid, p->fsgid, p->files ? p->files->max_fds : 0); -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |