Eric W. Biederman 5b0c1dd38b [PATCH] proc: optimize proc_check_dentry_visible
The code doesn't need to sleep to when making this check so I can just do the
comparison and not worry about the reference counts.

TODO: While looking at this I realized that my original cleanup did not push
the permission check far enough down into the stack.  The call of
proc_check_dentry_visible needs to move out of the generic proc
readlink/follow link code and into the individual get_link instances.
Otherwise the shared resources checks are not quite correct (shared
files_struct does not require a shared fs_struct), and there are races with
unshare.

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>
2006-06-26 09:58:26 -07:00
..
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:20 -07:00
2006-06-26 09:58:18 -07:00
2006-06-09 09:40:27 -04:00
2006-06-25 12:30:33 -07:00
2006-06-26 09:58:18 -07:00
2006-03-24 07:33:19 -08:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:17 -07:00
2006-01-11 18:42:13 -08:00
2006-01-10 08:01:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-23 17:10:39 +02:00
2006-06-26 09:58:17 -07:00
2006-06-23 17:10:39 +02:00
2006-01-08 20:12:40 -08:00
2006-04-02 13:37:19 +02:00
2006-04-11 13:53:33 +02:00
2005-10-30 17:37:32 -08:00
2006-06-23 17:10:39 +02:00
2006-04-02 13:38:18 +02:00
2006-01-11 18:42:13 -08:00
2006-06-23 07:42:53 -07:00
2006-06-26 09:58:17 -07:00
2006-03-28 09:16:08 -08:00
2006-06-23 07:42:49 -07:00
2006-06-26 09:58:17 -07:00
2006-03-24 07:33:19 -08:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:12 -08:00
2006-04-28 21:04:59 +10:00
2006-06-23 07:42:49 -07:00
2005-04-16 15:20:36 -07:00