mirror_zfs/config
Richard Yao f7fd6ddd96 Linux 3.8 compat: Use kuid_t/kgid_t when required
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.

Original-patch-by: DHE
Rewrite-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #260
2013-08-09 10:09:29 -07:00
..
.gitignore build: do not call boilerplate ourself 2013-04-02 11:08:46 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
deb.am Add --bump=0 to alien 2013-04-24 16:18:11 -07:00
rpm.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00
Rules.am build: use CPPFLAGS 2013-04-02 11:07:11 -07:00
spl-build.m4 Linux 3.8 compat: Use kuid_t/kgid_t when required 2013-08-09 10:09:29 -07:00
spl-meta.m4 Support .nogitrelease file 2013-04-24 16:18:03 -07:00
tgz.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00