Eric W. Biederman
adb37c4c67
userns: Make seq_file's user namespace accessible
...
struct file already has a user namespace associated with it
in file->f_cred->user_ns, unfortunately because struct
seq_file has no struct file backpointer associated with
it, it is difficult to get at the user namespace in seq_file
context. Therefore add a helper function seq_user_ns to return
the associated user namespace and a user_ns field to struct
seq_file to be used in implementing seq_user_ns.
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
2012-08-14 21:47:55 -07:00
..
2012-07-31 01:02:46 +04:00
2012-07-14 16:34:32 +04:00
2012-07-30 17:25:16 -07:00
2012-07-14 16:38:34 +04:00
2012-07-23 00:01:29 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-08-01 10:26:23 -07:00
2012-07-30 17:25:21 -07:00
2012-08-02 09:11:19 -07:00
2012-07-27 15:17:50 -05:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-26 11:25:33 -07:00
2012-07-14 16:38:34 +04:00
2012-07-16 14:24:43 -05:00
2012-08-02 10:56:34 -07:00
2012-07-14 16:34:32 +04:00
2012-07-23 12:27:27 -07:00
2012-07-23 00:01:29 +04:00
2012-08-01 10:26:23 -07:00
2012-07-30 17:25:16 -07:00
2012-08-01 10:26:23 -07:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:34:32 +04:00
2012-07-31 09:45:50 +04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:58:09 +04:00
2012-07-30 17:25:19 -07:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-23 00:01:29 +04:00
2012-07-31 18:42:40 -07:00
2012-07-24 17:40:44 -07:00
2012-07-09 23:38:36 +02:00
2012-07-23 14:11:22 +08:00
2012-07-23 00:00:58 +04:00
2012-07-23 00:00:58 +04:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:38:34 +04:00
2012-07-30 17:25:19 -07:00
2012-07-14 16:34:47 +04:00
2012-07-31 19:25:39 -07:00
2012-08-01 10:26:23 -07:00
2012-08-01 10:26:23 -07:00
2012-06-01 19:51:22 -07:00
2012-07-23 00:01:29 +04:00
2012-08-01 10:26:23 -07:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-30 17:25:20 -07:00
2012-07-17 16:48:09 -07:00
2012-07-30 17:25:16 -07:00
2012-07-14 16:34:32 +04:00
2012-07-24 17:40:44 -07:00
2012-07-14 16:34:47 +04:00
2012-07-23 00:00:58 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:58:12 +04:00
2012-07-23 15:50:52 -07:00
2012-07-24 17:40:44 -07:00
2012-07-22 23:58:16 +04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:57:59 +04:00
2012-07-14 16:35:42 +04:00
2012-07-14 16:34:47 +04:00
2012-04-20 17:29:13 -07:00
2012-05-23 17:42:39 -07:00
2012-05-30 21:04:55 -04:00
2012-05-30 21:04:56 -04:00
2012-05-06 13:43:41 +08:00
2012-04-20 17:29:13 -07:00
2012-05-30 08:52:42 -07:00
2012-07-22 23:58:45 +04:00
2012-07-31 09:45:47 +04:00
2012-06-01 11:53:44 -07:00
2012-07-14 16:35:15 +04:00
2012-07-14 16:32:46 +04:00
2012-05-31 17:49:32 -07:00
2012-07-17 21:37:27 +02:00
2012-08-01 10:26:23 -07:00
2012-07-30 17:25:21 -07:00
2012-07-16 08:33:14 -07:00
2012-07-31 09:40:38 +04:00
2012-07-14 16:32:47 +04:00
2012-07-31 18:42:40 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 09:40:38 +04:00
2012-05-30 08:52:42 -07:00
2012-05-15 09:17:34 -04:00
2012-07-14 16:38:34 +04:00
2012-08-01 09:01:46 -07:00
2012-07-14 16:32:48 +04:00
2012-08-03 19:23:45 -07:00
2012-07-31 09:40:38 +04:00
2012-07-31 09:45:47 +04:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:37:27 +04:00
2012-07-14 16:32:48 +04:00
2012-07-23 00:00:15 +04:00
2012-05-29 23:28:29 -04:00
2012-07-26 13:36:43 -07:00
2012-08-14 21:47:55 -07:00
2012-05-29 23:28:30 -04:00
2012-07-31 09:45:47 +04:00
2012-05-23 17:42:39 -07:00
2012-05-29 23:28:31 -04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:59:01 +04:00
2012-05-29 23:28:32 -04:00
2012-07-30 17:25:11 -07:00