[PATCH] Fix invisible threads problem
authorSripathi Kodi <sripathik@in.ibm.com>
Mon, 19 Sep 2005 23:26:12 +0000 (18:26 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 21 Sep 2005 16:15:34 +0000 (09:15 -0700)
commit66dcca062847bcd261ebb3ac96d51101f31a8630
tree12f23a499ae0af8107d0c4a3afcff75e6697fa3b
parentd79e743e9fcf03f521300a970eb1ab69641910ba
[PATCH] Fix invisible threads problem

When the main thread of a thread group has done pthread_exit() and died,
the other threads are still happily running, but will not be visible
under /proc because their leader is no longer accessible.

This fixes the access control so that we can see the sub-threads again.

Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Acked-by: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c