2008-02-08 13:55:37

by Guillaume Chazarain

[permalink] [raw]
Subject: Re: [patch 019/233] proc: fix the threaded /proc/self

On Feb 8, 2008 1:18 PM, <[email protected]> wrote:
> Long ago when the CLONE_THREAD support first went it someone thought it
> would be wise to point /proc/self at /proc/<tgid> instead of /proc/<pid>.

The last message about this conversation is:

http://lkml.org/lkml/2007/12/1/172

So I thought we would end up with a new file, in order to make the
change discoverable.

--
Guillaume


2008-02-08 17:49:49

by Eric W. Biederman

[permalink] [raw]
Subject: Re: [patch 019/233] proc: fix the threaded /proc/self

"Guillaume Chazarain" <[email protected]> writes:

> On Feb 8, 2008 1:18 PM, <[email protected]> wrote:
>> Long ago when the CLONE_THREAD support first went it someone thought it
>> would be wise to point /proc/self at /proc/<tgid> instead of /proc/<pid>.
>
> The last message about this conversation is:
>
> http://lkml.org/lkml/2007/12/1/172
>
> So I thought we would end up with a new file, in order to make the
> change discoverable.

Yes. The above patch really is wrong. There is at least one corner
case in procps that cares.

Andrew my apologies. I noticed this earlier but forgot to ask you to
remove this from your tree.

Eric