3 dnl # Since usernamespaces were introduced in kernel version 3.5, it
4 dnl # became necessary to go through one more level of indirection
5 dnl # when dealing with uid/gid - namely the kuid type.
8 AC_DEFUN([ZFS_AC_KERNEL_SRC_KUID_HELPERS], [
9 ZFS_LINUX_TEST_SRC([i_uid_read], [
12 struct inode *ip = NULL;
13 (void) i_uid_read(ip);
17 AC_DEFUN([ZFS_AC_KERNEL_KUID_HELPERS], [
18 AC_MSG_CHECKING([whether i_(uid|gid)_(read|write) exist])
19 ZFS_LINUX_TEST_RESULT([i_uid_read], [
22 ZFS_LINUX_TEST_ERROR([i_uid_read])