freebsd-dev/module
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
..
avl Add script for builtin module building. 2012-07-26 13:45:09 -07:00
nvpair Register correct handlers in nvlist_alloc() 2013-06-20 09:58:15 -07:00
unicode Add script for builtin module building. 2012-07-26 13:45:09 -07:00
zcommon Add snapdev=[hidden|visible] dataset property 2013-03-05 12:37:54 -08:00
zfs Linux 3.8 compat: Support CONFIG_UIDGID_STRICT_TYPE_CHECKS 2013-08-09 15:31:52 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
.gitignore gitignore: anchor entries at their respective directory 2013-04-02 10:50:17 -07:00
Makefile.in Add KMODDIR to install target 2013-03-06 15:46:40 -08:00