Messages in this thread | | | From | Peter Chubb <> | Date | Fri, 27 Feb 2004 10:48:42 +1100 | Subject | Re: /proc visibility patch breaks GDB, etc. |
| |
>>>>> "Andrew" == Andrew Morton <akpm@osdl.org> writes:
Andrew> Kingsley Cheung <kingsley@aurema.com> wrote: >> Am I correct to assume though that the corresponding change in >> proc_task_lookup() should stay? The existing behaviour there was >> that one could do say, >> >> cat /proc/<pid>/task/<tid>/stat, where tid could be any thread and >> not a part of the thread group pid.
Andrew> That sounds especially broken - let's hope that nobody has Andrew> started using it (but how did you even discover this? Code Andrew> audit?)
Andrew> How's this?
Looks fine to me --- should fix my immediate problems. But maybe we *want* (in 2.7?) to deprecate /proc/tid where tid is a thread ID not a process ID.
-- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*
- 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/
| |