diff options
Diffstat (limited to 'config/spl-build.m4')
-rw-r--r-- | config/spl-build.m4 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4 index 1eda1772a..91318efc3 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -35,9 +35,7 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [ SPL_AC_2ARGS_VFS_FSYNC SPL_AC_INODE_TRUNCATE_RANGE SPL_AC_FS_STRUCT_SPINLOCK - SPL_AC_CRED_STRUCT SPL_AC_KUIDGID_T - SPL_AC_GROUPS_SEARCH SPL_AC_PUT_TASK_STRUCT SPL_AC_5ARGS_PROC_HANDLER SPL_AC_KVASPRINTF @@ -1136,26 +1134,6 @@ AC_DEFUN([SPL_AC_FS_STRUCT_SPINLOCK], [ ]) dnl # -dnl # 2.6.29 API change, -dnl # check whether 'struct cred' exists -dnl # -AC_DEFUN([SPL_AC_CRED_STRUCT], [ - AC_MSG_CHECKING([whether struct cred exists]) - SPL_LINUX_TRY_COMPILE([ - #include <linux/cred.h> - ],[ - struct cred *cr __attribute__ ((unused)); - cr = NULL; - ],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_CRED_STRUCT, 1, [struct cred exists]) - ],[ - AC_MSG_RESULT(no) - ]) -]) - - -dnl # dnl # User namespaces, use kuid_t in place of uid_t dnl # where available. Not strictly a user namespaces thing dnl # but it should prevent surprises @@ -1185,30 +1163,6 @@ AC_DEFUN([SPL_AC_KUIDGID_T], [ ]) dnl # -dnl # Custom SPL patch may export this symbol. -dnl # -AC_DEFUN([SPL_AC_GROUPS_SEARCH], - [AC_MSG_CHECKING([whether groups_search() is available]) - SPL_LINUX_TRY_COMPILE_SYMBOL([ - #include <linux/cred.h> - #ifdef HAVE_KUIDGID_T - #include <linux/uidgid.h> - #endif - ], [ - #ifdef HAVE_KUIDGID_T - groups_search(NULL, KGIDT_INIT(0)); - #else - groups_search(NULL, 0); - #endif - ], [groups_search], [], [ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_GROUPS_SEARCH, 1, [groups_search() is available]) - ], [ - AC_MSG_RESULT(no) - ]) -]) - -dnl # dnl # 2.6.x API change, dnl # __put_task_struct() was exported in RHEL5 but unavailable elsewhere. dnl # |