Eric W. Biederman
87bfbf679f
[PATCH] proc: Simplify the ownership rules for /proc
...
Currently in /proc if the task is dumpable all of files are owned by the tasks
effective users. Otherwise the files are owned by root. Unless it is the
/proc/<tgid>/ or /proc/<tgid>/task/<pid> directory in that case we always make
the directory owned by the effective user.
However the special case for directories is pointless except as a way to read
the effective user, because the permissions on both of those directories are
world readable, and executable.
/proc/<tgid>/status provides a much better way to read a processes effecitve
userid, so it is silly to try to provide that on the directory.
So this patch simplifies the code by removing a pointless special case and
gets us one step closer to being able to remove the hard coded /proc inode
numbers.
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:23 -07:00
..
2006-06-25 10:54:14 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-24 13:07:53 -04:00
2006-06-26 09:58:17 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:02 -07:00
2006-06-24 13:07:53 -04:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-05-21 12:59:16 -07:00
2006-06-25 10:01:25 -07:00
2006-06-26 09:58:20 -07:00
2006-06-23 07:43:03 -07:00
2006-06-25 10:01:01 -07:00
2006-06-25 10:54:14 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:48 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:07 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:02 -07:00
2006-06-09 09:40:27 -04:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 12:30:33 -07:00
2005-10-11 09:46:54 -07:00
2006-06-26 09:58:18 -07:00
2006-03-24 07:33:19 -08:00
2006-06-25 10:01:09 -07:00
2006-06-26 09:58:18 -07:00
2006-06-25 10:01:05 -07:00
2006-06-23 07:43:09 -07:00
2006-06-26 09:58:23 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:19 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:04 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 17:43:32 -07:00
2006-06-23 07:43:07 -07:00
2006-01-11 18:42:13 -08:00
2006-03-28 09:16:06 -08:00
2006-01-10 08:01:25 -08:00
2006-06-23 07:42:54 -07:00
2006-06-23 07:43:05 -07:00
2006-06-25 21:04:24 -07:00
2006-06-24 13:07:53 -04:00
2005-10-29 21:40:38 -07:00
2006-06-17 10:52:12 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 17:10:39 +02:00
2006-03-31 12:18:53 -08:00
2006-06-26 09:58:23 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:17 -07:00
2006-03-26 08:56:56 -08:00
2006-06-23 17:10:39 +02:00
2006-03-26 08:56:56 -08:00
2006-06-26 09:58:17 -07:00
2006-01-08 20:12:40 -08:00
2006-06-25 10:01:13 -07:00
2006-06-22 15:05:57 -07:00
2006-04-02 13:37:19 +02:00
2006-04-11 13:53:33 +02:00
2006-06-23 07:43:06 -07:00
2006-03-28 09:16:05 -08: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-06-23 07:42:45 -07:00
2006-06-20 05:25:19 -04:00
2006-01-11 18:42:13 -08:00
2006-06-23 07:42:53 -07:00
2006-06-26 09:58:23 -07:00
2006-01-08 20:13:36 -08:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:43:03 -07:00
2006-06-20 05:25:17 -04:00
2006-03-28 09:16:08 -08:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:17 -07:00
2006-03-24 07:33:19 -08:00
2006-06-25 10:01:15 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2005-10-08 15:00:57 -07:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-04-11 13:56:09 +02:00
2006-01-09 15:59:24 -08:00
2006-06-25 10:01:22 -07:00
2006-03-23 07:38:12 -08:00
2006-06-23 17:10:39 +02:00
2006-04-28 21:04:59 +10:00
2006-06-24 13:07:53 -04:00
2006-06-23 07:42:49 -07:00
2006-06-20 05:25:28 -04:00