Files
kernel-tenderloin-3.0/include/linux
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-17 22:39:48 -07:00
2010-05-28 01:38:00 +02:00
2010-05-03 08:33:00 -04:00
2010-06-04 16:00:42 -04:00
2010-05-14 17:08:01 -04:00
2010-05-27 09:12:53 -07:00
2010-05-19 13:38:54 -04:00
2010-05-19 22:41:57 -04:00
2010-05-10 16:08:01 -07:00
2010-05-17 16:30:58 -07:00
2010-05-21 19:30:44 +02:00
2010-04-09 08:36:07 +02:00
2010-05-27 22:05:02 -04:00
2010-05-27 22:15:33 -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-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-03 03:21:52 -07:00
2010-05-11 12:01:10 -07:00
2010-06-03 03:21:52 -07:00
2010-05-03 11:50:57 +02:00
2010-06-03 03:21:52 -07:00
2010-04-23 02:08:44 +02:00
2010-05-21 09:37:29 -07:00
2010-05-14 15:09:32 -04:00
2010-05-17 12:17:10 +03:00
2010-04-03 14:56:05 -07:00
2010-05-25 19:41:19 -04:00
2010-06-03 03:21:52 -07:00
2010-05-11 14:40:55 +02:00
2010-04-13 14:49:34 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 05:27:42 +02:00
2010-06-03 03:21:52 -07:00
2010-05-19 13:44:27 +10:00
2010-06-03 03:21:52 -07:00
2010-04-02 14:30:39 -07:00
2010-05-10 23:08:19 +02:00
2010-05-03 15:53:54 -07:00
2010-06-03 03:21:52 -07:00
2010-05-27 09:12:50 -07:00
2010-05-30 09:02:47 -07:00
2010-05-11 10:09:47 +02:00
2010-06-03 03:21:52 -07:00
2010-05-06 10:56:07 +10:00
2010-05-25 11:41:43 -04:00
2010-05-10 11:08:35 -07:00
2010-05-27 09:12:43 -07:00
2010-05-15 23:28:39 -07:00
2010-03-25 17:18:43 -07:00
2010-04-13 12:43:42 +02:00
2010-05-12 23:02:23 -07:00
2010-05-21 09:34:29 -07:00
2010-05-19 22:40:47 -04:00
2010-05-19 22:15:46 +09:30
2010-06-03 03:21:52 -07:00
2010-04-06 20:35:58 +04:00