3 dnl # group_info changed from 2d array via >blocks to 1d array via ->gid
5 AC_DEFUN([ZFS_AC_KERNEL_SRC_GROUP_INFO_GID], [
6 ZFS_LINUX_TEST_SRC([group_info_gid], [
7 #include <linux/cred.h>
9 struct group_info gi __attribute__ ((unused)) = {};
10 gi.gid[0] = KGIDT_INIT(0);
14 AC_DEFUN([ZFS_AC_KERNEL_GROUP_INFO_GID], [
15 AC_MSG_CHECKING([whether group_info->gid exists])
16 ZFS_LINUX_TEST_RESULT([group_info_gid], [
18 AC_DEFINE(HAVE_GROUP_INFO_GID, 1, [group_info->gid exists])