[PATCH] proc: Remove bogus proc_task_permission
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:45 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:24 +0000 (09:58 -0700)
commit68602066c3327fa340899609d715781eda423751
treefdd1db5b08755bf2c353364b56a778f62e5009f4
parentaed7a6c476d90660ac5af860158407ae9fe61c68
[PATCH] proc: Remove bogus proc_task_permission

First we can access every /proc/<tgid>/task/<pid> directory as /proc/<pid> so
proc_task_permission is not usefully limiting visibility.

Second having related filesystems information should have nothing to do with
process visibility.  kill does not implement any checks like that.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c