[sudo-commits] sudo changeset 10749:2b05e4a143d9
Todd C. Miller
Todd.Miller at courtesan.com
Wed Nov 16 10:15:46 MST 2016
changeset: 10749:2b05e4a143d9 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/2b05e4a143d9
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Wed Nov 16 10:13:26 2016 -0700
Log Message:
Always define _PATH_SUDO_NOEXEC, _PATH_SUDO_SESH, _PATH_SUDO_PLUGIN_DIR,
even if only defined to NULL. This means the accessors can always be
present.
Use RTLD_PRELOAD_VAR instead of _PATH_SUDO_NOEXEC to tell when
noexec is available.
Add ENABLE_SUDO_PLUGIN_API and use it instead of _PATH_SUDO_PLUGIN_DIR
to tell when the plugin API is available.
Add sudo_conf_clear_paths() to clear the path values so the
regress tests are not affected by compile-time settings.
diffstat:
config.h.in | 3 +++
configure | 15 +++++++++++++++
configure.ac | 7 +++++++
include/sudo_conf.h | 2 ++
lib/util/regress/sudo_conf/conf_test.c | 7 +++++--
lib/util/regress/sudo_conf/test1.out.ok | 1 +
lib/util/sudo_conf.c | 21 +++++++++++++--------
lib/util/util.exp.in | 1 +
plugins/sudoers/policy.c | 2 +-
src/exec_common.c | 8 ++++----
src/load_plugins.c | 4 ++--
src/parse_args.c | 2 +-
12 files changed, 55 insertions(+), 18 deletions(-)
More information about the sudo-commits
mailing list