Skip to contentSkip to conversation

proc: fix the threaded /proc/self

PATCH Guillaume Chazarain 2 participants 2 messages Feb 8, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · 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.

Signature · 1 line
Guillaume
#2 lore raw
Quoted 10 lines · Guillaume Chazarain
Quoted 2 lines · 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