Hard-code sudoers.so instead of using SUDOERS_PLUGIN since libtool
appears to always install a shared object with the .so suffix.
This commit is contained in:
@@ -25,9 +25,6 @@
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* The name of the sudoers plugin, including extension. */
|
||||
#undef SUDOERS_PLUGIN
|
||||
|
||||
/* Define to 1 if you want sudo to display "command not allowed" instead of
|
||||
"command not found" when a command cannot be found. */
|
||||
#undef DONT_LEAK_PATH_INFO
|
||||
|
6
configure
vendored
6
configure
vendored
@@ -26286,10 +26286,6 @@ _ACEOF
|
||||
eval PLUGINDIR="$with_plugindir"
|
||||
cat >>confdefs.h <<EOF
|
||||
#define _PATH_SUDO_PLUGIN_DIR "$PLUGINDIR"
|
||||
EOF
|
||||
|
||||
cat >>confdefs.h <<EOF
|
||||
#define SUDOERS_PLUGIN "sudoers$_shrext"
|
||||
EOF
|
||||
|
||||
exec_prefix="$oexec_prefix"
|
||||
@@ -27730,8 +27726,6 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -2694,7 +2694,6 @@ if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then
|
||||
fi
|
||||
eval PLUGINDIR="$with_plugindir"
|
||||
SUDO_DEFINE_UNQUOTED(_PATH_SUDO_PLUGIN_DIR, "$PLUGINDIR")
|
||||
SUDO_DEFINE_UNQUOTED(SUDOERS_PLUGIN, "sudoers$_shrext")
|
||||
exec_prefix="$oexec_prefix"
|
||||
fi
|
||||
|
||||
@@ -2722,7 +2721,6 @@ dnl
|
||||
AH_TEMPLATE(BROKEN_SYSLOG, [Define to 1 if the `syslog' function returns a non-zero int to denote failure.])
|
||||
AH_TEMPLATE(CLASSIC_INSULTS, [Define to 1 if you want the insults from the "classic" version sudo.])
|
||||
AH_TEMPLATE(CSOPS_INSULTS, [Define to 1 if you want insults culled from the twisted minds of CSOps.])
|
||||
AH_TEMPLATE(SUDOERS_PLUGIN, [The name of the sudoers plugin, including extension.])
|
||||
AH_TEMPLATE(DONT_LEAK_PATH_INFO, [Define to 1 if you want sudo to display "command not allowed" instead of "command not found" when a command cannot be found.])
|
||||
AH_TEMPLATE(ENV_EDITOR, [Define to 1 if you want visudo to honor the EDITOR and VISUAL env variables.])
|
||||
AH_TEMPLATE(FQDN, [Define to 1 if you want to require fully qualified hosts in sudoers.])
|
||||
|
@@ -61,7 +61,7 @@ sudo_read_conf(const char *conf_file)
|
||||
/* Default values */
|
||||
info = emalloc(sizeof(*info));
|
||||
info->symbol_name = "sudoers_policy";
|
||||
info->path = SUDOERS_PLUGIN;
|
||||
info->path = "sudoers.so";
|
||||
info->prev = info;
|
||||
info->next = NULL;
|
||||
tq_append(&pil, info);
|
||||
|
Reference in New Issue
Block a user