Richard Yao
570d6edf1d
Linux 3.8 compat: Support CONFIG_UIDGID_STRICT_TYPE_CHECKS
...
When CONFIG_UIDGID_STRICT_TYPE_CHECKS is enabled uid_t/git_t are
replaced by kuid_t/kgid_t, which are structures instead of integral
types. This causes any code that uses an integral type to fail to build.
The User Namespace functionality introduced in Linux 3.8 requires
CONFIG_UIDGID_STRICT_TYPE_CHECKS, so we could not build against any
kernel that supported it.
We resolve this by converting between the new kuid_t/kgid_t structures
and the original uid_t/gid_t types.
Signed-off-by: Richard Yao <ryao@gentoo.org >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #1589
2013-08-09 15:31:52 -07:00
..
2013-08-09 10:06:12 -07:00
2012-08-27 12:01:37 -07:00
2013-06-19 15:14:10 -07:00
2013-07-02 13:34:31 -07:00
2013-08-08 13:27:21 -07:00
2012-10-29 08:57:45 -07:00
2013-05-06 14:10:55 -07:00
2013-07-02 13:34:31 -07:00
2010-08-31 13:41:58 -07:00
2013-08-08 13:27:21 -07:00
2013-07-02 13:34:31 -07:00
2013-07-02 13:34:31 -07:00
2013-08-01 09:48:07 -07:00
2012-08-27 12:01:37 -07:00
2013-08-08 13:27:21 -07:00
2013-06-19 15:14:10 -07:00
2013-06-19 15:14:10 -07:00
2013-07-02 13:34:31 -07:00
2013-01-08 10:35:43 -08:00
2013-01-08 10:35:35 -08:00
2013-06-19 15:14:10 -07:00
2013-07-11 13:53:44 -07:00
2012-09-17 11:22:23 -07:00
2013-07-02 13:34:31 -07:00
2013-06-19 15:14:10 -07:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2013-03-06 15:48:48 -08:00
2012-08-27 12:01:37 -07:00
2013-01-29 09:28:20 -08:00
2013-06-19 16:22:39 -07:00
2012-08-27 12:01:37 -07:00
2010-12-07 16:05:25 -08:00
2013-03-04 08:49:32 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-08-07 16:13:56 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2013-05-06 12:39:34 -07:00
2013-07-03 09:22:44 -07:00
2013-06-19 16:22:39 -07:00
2013-04-26 14:42:36 -07:00
2010-05-28 13:45:14 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2013-07-10 14:12:21 -07:00
2013-05-06 14:05:37 -07:00
2013-01-08 10:35:42 -08:00
2013-07-11 13:53:50 -07:00
2012-09-19 13:39:05 -07:00
2013-05-01 17:05:52 -07:00
2013-06-19 15:14:10 -07:00
2012-09-19 13:39:05 -07:00
2013-06-19 16:22:39 -07:00
2012-09-05 08:44:58 -07:00
2013-06-19 15:14:10 -07:00
2013-06-19 15:14:10 -07:00
2013-01-29 09:28:20 -08:00
2013-01-08 10:35:43 -08:00
2013-01-28 09:10:29 -08:00
2010-08-31 13:41:58 -07:00
2013-08-09 15:31:52 -07:00
2013-06-19 15:14:10 -07:00
2013-04-19 15:43:16 -07:00
2013-05-01 17:05:52 -07:00
2011-03-02 11:44:34 -08:00
2013-07-03 09:22:44 -07:00
2012-12-20 09:56:28 -08:00
2010-08-31 13:41:50 -07:00
2013-03-04 08:49:32 -08:00
2013-06-19 15:14:10 -07:00
2012-08-25 09:25:56 -07:00
2013-07-17 09:22:23 -07:00
2013-08-07 16:16:43 -07:00
2013-08-09 15:31:52 -07:00
2013-07-02 13:34:31 -07:00
2010-05-28 13:45:14 -07:00
2013-01-29 09:28:20 -08:00
2013-05-01 17:05:52 -07:00
2013-08-01 09:48:06 -07:00
2010-05-28 13:45:14 -07:00
2013-01-23 16:33:29 -08:00
2012-10-03 10:49:45 -07:00
2013-08-07 16:11:19 -07:00
2013-08-09 15:31:52 -07:00
2013-07-17 09:28:06 -07:00
2013-05-10 12:24:56 -07:00
2010-09-17 16:24:15 -07:00
2013-07-08 15:41:57 -07:00