Eric W. Biederman
5c1469de75
user_ns: Introduce user_nsmap_uid and user_ns_map_gid.
...
Define what happens when a we view a uid from one user_namespace
in another user_namepece.
- If the user namespaces are the same no mapping is necessary.
- For most cases of difference use overflowuid and overflowgid,
the uid and gid currently used for 16bit apis when we have a 32bit uid
that does fit in 16bits. Effectively the situation is the same,
we want to return a uid or gid that is not assigned to any user.
- For the case when we happen to be mapping the uid or gid of the
creator of the target user namespace use uid 0 and gid as confusing
that user with root is not a problem.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com >
Acked-by: Serge E. Hallyn <serue@us.ibm.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2010-06-16 14:55:34 -07:00
..
2010-05-30 09:12:43 -07:00
2010-05-26 08:30:15 -07:00
2010-05-27 11:34:55 -07:00
2010-05-28 01:37:38 +02:00
2010-05-28 01:38:00 +02:00
2010-05-27 09:12:40 -07:00
2010-06-15 17:31:06 +02:00
2010-05-25 10:16:01 +01:00
2010-05-25 00:38:26 -06:00
2010-06-04 16:00:42 -04:00
2010-05-29 15:31:57 -07:00
2010-05-28 14:42:18 -07:00
2010-05-27 09:12:53 -07:00
2010-05-21 09:34:30 -07:00
2010-05-21 09:34:30 -07:00
2010-05-21 20:00:35 +02:00
2010-05-30 09:00:03 -07:00
2010-05-21 15:26:46 -07:00
2010-05-27 22:15:33 -04:00
2010-05-27 09:12:44 -07:00
2010-05-25 08:07:00 -07:00
2010-05-27 09:12:53 -07:00
2010-05-29 09:12:30 -07:00
2010-05-27 21:06:58 -04:00
2010-05-27 09:12:44 -07:00
2010-05-27 09:12:45 -07:00
2010-05-22 00:36:56 -06:00
2010-05-27 09:12:53 -07:00
2010-05-21 19:30:44 +02:00
2010-05-21 21:12:01 +02:00
2010-05-25 08:07:05 -07:00
2010-05-21 20:29:10 -07:00
2010-05-25 08:07:02 -07:00
2010-06-14 23:13:06 -07:00
2010-05-21 19:30:39 +02:00
2010-05-27 22:05:02 -04:00
2010-05-27 22:05:02 -04:00
2010-05-21 21:12:40 +02:00
2010-05-24 00:36:13 -07:00
2010-05-27 22:03:07 -04:00
2010-05-21 09:37:28 -07:00
2010-05-27 22:15:33 -04:00
2010-05-27 15:23:47 -07:00
2010-05-25 15:06:06 +02:00
2010-05-21 18:31:18 -04:00
2010-05-25 08:07:01 -07:00
2010-05-27 09:12:42 -07:00
2010-05-21 09:34:29 -07:00
2010-05-25 08:07:01 -07:00
2010-05-22 00:36:56 -06:00
2010-05-24 08:05:29 -07:00
2010-06-05 02:23:17 -07:00
2010-06-02 07:11:15 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-12 15:51:22 -07:00
2010-06-02 07:11:15 -07:00
2010-06-02 05:53:56 -07:00
2010-06-03 03:21:52 -07:00
2010-06-15 11:48:58 -07:00
2010-05-27 09:12:52 -07:00
2010-05-21 10:48:12 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-05-25 08:07:09 -07:00
2010-05-21 19:30:40 +02:00
2010-05-25 08:07:05 -07:00
2010-05-27 09:12:45 -07:00
2010-05-21 09:37:32 -07:00
2010-05-21 09:37:29 -07:00
2010-05-26 17:34:16 +01:00
2010-05-26 13:07:55 +01:00
2010-05-25 19:41:19 -04:00
2010-05-25 08:07:07 -07:00
2010-05-21 09:37:30 -07:00
2010-05-25 08:07:09 -07:00
2010-05-27 09:12:44 -07:00
2010-05-25 08:07:00 -07:00
2010-05-25 08:06:57 -07:00
2010-05-25 08:06:59 -07:00
2010-05-25 15:08:26 -07:00
2010-06-03 03:21:52 -07:00
2010-05-25 08:07:02 -07:00
2010-05-27 09:12:57 -07:00
2010-05-21 17:15:44 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-06-15 15:08:48 -07:00
2010-05-21 09:37:32 -07:00
2010-06-15 21:44:29 -07:00
2010-06-02 16:13:18 -04:00
2010-05-30 09:00:03 -07:00
2010-05-31 00:28:35 -07:00
2010-05-22 00:10:41 -06:00
2010-05-22 00:10:40 -06:00
2010-05-27 09:12:44 -07:00
2010-05-21 18:58:52 -07:00
2010-05-28 14:42:18 -07:00
2010-05-21 11:37:59 +02:00
2010-06-03 03:21:52 -07:00
2010-05-21 21:12:52 +02:00
2010-05-27 18:56:27 +02:00
2010-05-30 09:11:11 -07:00
2010-05-21 18:31:26 -04:00
2010-05-27 09:12:52 -07:00
2010-05-25 08:07:03 -07:00
2010-06-03 03:21:52 -07:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00
2010-05-27 09:12:50 -07:00
2010-05-27 09:12:50 -07:00
2010-05-27 09:12:51 -07:00
2010-05-30 09:02:47 -07:00
2010-05-25 08:06:58 -07:00
2010-05-27 09:12:47 -07:00
2010-06-03 03:21:52 -07:00
2010-05-27 09:12:39 -07:00
2010-05-27 09:12:49 -07:00
2010-05-21 11:08:05 -07:00
2010-05-25 11:41:43 -04:00
2010-06-15 18:16:43 -07:00
2010-05-30 13:02:08 +03:00
2010-06-03 03:18:19 -07:00
2010-05-21 21:12:40 +02:00
2010-05-27 09:12:43 -07:00
2010-05-27 09:12:52 -07:00
2010-05-21 09:37:31 -07:00
2010-05-27 09:12:51 -07:00
2010-05-27 09:12:57 -07:00
2010-05-21 09:34:29 -07:00
2010-06-16 14:55:34 -07:00
2010-05-25 08:06:59 -07:00
2010-06-03 03:21:52 -07:00
2010-05-21 20:01:03 +02:00
2010-05-21 18:31:18 -04:00