From 09c0d1308c4c6cca8aa29958b7360d33d8c95329 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 8 Sep 1999 08:06:28 +0000 Subject: Add support for "Defaults" line in sudoers to make configuration variables changable at runtime (and on a global, per-host and per-user basis). Both the names and the internal representation are still subject to change. It was necessary to make sudo_user.runas but a char ** instead of a char * since this value can be changed by a Defaults line. There is a similar (but more complicated) issue with sudo_user.prompt but it is handled differently at the moment. Add a "-L" flag to list the name of options with their descriptions. This may only be temporary. Move some prototypes to parse.h Be much less restrictive on what is allowed for a username. --- aclocal.m4 | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index fc6f3f052..f10e26160 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -304,26 +304,6 @@ AC_MSG_RESULT($sudo_cv_uid_t_len) AC_DEFINE_UNQUOTED(MAX_UID_T_LEN, $sudo_cv_uid_t_len) ]) -dnl -dnl check for facilitynames and prioritynames in syslog.h -dnl 4.4BSD has these but most others do not. -dnl -AC_DEFUN(SUDO_SYSLOG_NAMES, -[AC_MSG_CHECKING(for facilitynames and prioritynames in syslog.h) -AC_CACHE_VAL(sudo_cv_syslog_names, -[ -AC_TRY_COMPILE([ -#define SYSLOG_NAMES -#include -#include -], [ CODE *p=&prioritynames[0]; CODE *f=&facilitynames[0]; ], -sudo_cv_syslog_names=yes, sudo_cv_syslog_names=no)])dnl -AC_MSG_RESULT($sudo_cv_syslog_names) -if test $sudo_cv_syslog_names = yes; then - AC_DEFINE(HAVE_SYSLOG_NAMES) -fi -]) - dnl dnl check for "long long" dnl XXX hard to cache since it includes 2 tests -- cgit v1.2.1