We don't use getgrouplist() at the moment so there's no need to
provide a compat version.
This commit is contained in:
1
MANIFEST
1
MANIFEST
@@ -23,7 +23,6 @@ compat/closefrom.c
|
|||||||
compat/fnmatch.c
|
compat/fnmatch.c
|
||||||
compat/fnmatch.h
|
compat/fnmatch.h
|
||||||
compat/getcwd.c
|
compat/getcwd.c
|
||||||
compat/getgrouplist.c
|
|
||||||
compat/getline.c
|
compat/getline.c
|
||||||
compat/getprogname.c
|
compat/getprogname.c
|
||||||
compat/glob.c
|
compat/glob.c
|
||||||
|
@@ -153,15 +153,9 @@
|
|||||||
/* Define to 1 if you have the `getdomainname' function. */
|
/* Define to 1 if you have the `getdomainname' function. */
|
||||||
#undef HAVE_GETDOMAINNAME
|
#undef HAVE_GETDOMAINNAME
|
||||||
|
|
||||||
/* Define to 1 if you have the `getgrouplist' function. */
|
|
||||||
#undef HAVE_GETGROUPLIST
|
|
||||||
|
|
||||||
/* Define to 1 if your system has a working `getgroups' function. */
|
/* Define to 1 if your system has a working `getgroups' function. */
|
||||||
#undef HAVE_GETGROUPS
|
#undef HAVE_GETGROUPS
|
||||||
|
|
||||||
/* Define to 1 if you have the `getgrset' function. */
|
|
||||||
#undef HAVE_GETGRSET
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `getifaddrs' function. */
|
/* Define to 1 if you have the `getifaddrs' function. */
|
||||||
#undef HAVE_GETIFADDRS
|
#undef HAVE_GETIFADDRS
|
||||||
|
|
||||||
|
32
configure
vendored
32
configure
vendored
@@ -14601,38 +14601,6 @@ done
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for ac_func in getgrset
|
|
||||||
do :
|
|
||||||
ac_fn_c_check_func "$LINENO" "getgrset" "ac_cv_func_getgrset"
|
|
||||||
if test "x$ac_cv_func_getgrset" = x""yes; then :
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define HAVE_GETGRSET 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
else
|
|
||||||
for ac_func in getgrouplist
|
|
||||||
do :
|
|
||||||
ac_fn_c_check_func "$LINENO" "getgrouplist" "ac_cv_func_getgrouplist"
|
|
||||||
if test "x$ac_cv_func_getgrouplist" = x""yes; then :
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define HAVE_GETGROUPLIST 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
else
|
|
||||||
case " $LIBOBJS " in
|
|
||||||
*" $ac_func.$ac_objext "* ) ;;
|
|
||||||
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
for ac_func in sysctl getutid getutxid
|
for ac_func in sysctl getutid getutxid
|
||||||
do :
|
do :
|
||||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
|
@@ -1909,8 +1909,6 @@ AC_CHECK_FUNCS(getline, [], [
|
|||||||
AC_LIBOBJ(getline)
|
AC_LIBOBJ(getline)
|
||||||
AC_CHECK_FUNCS(fgetln)
|
AC_CHECK_FUNCS(fgetln)
|
||||||
])
|
])
|
||||||
AC_CHECK_FUNCS(getgrset, [], [AC_REPLACE_FUNCS(getgrouplist)])
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS(sysctl getutid getutxid, [break])
|
AC_CHECK_FUNCS(sysctl getutid getutxid, [break])
|
||||||
|
|
||||||
AC_CHECK_FUNCS(openpty, [AC_CHECK_HEADERS(util.h pty.h, [break])], [
|
AC_CHECK_FUNCS(openpty, [AC_CHECK_HEADERS(util.h pty.h, [break])], [
|
||||||
|
@@ -78,8 +78,5 @@ int unsetenv(const char *);
|
|||||||
#ifndef HAVE_STRSIGNAL
|
#ifndef HAVE_STRSIGNAL
|
||||||
char *strsignal(int);
|
char *strsignal(int);
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAVE_GETGROUPLIST
|
|
||||||
int getgrouplist(const char *name, gid_t basegid, gid_t *groups, int *ngroups);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SUDO_MISSING_H */
|
#endif /* _SUDO_MISSING_H */
|
||||||
|
Reference in New Issue
Block a user