lkml.org 
[lkml]   [2004]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: /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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.051 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site