From 986fdec537ae2cb59f908e1de01148f2994b5ef4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 28 Jul 2024 15:11:42 -0600 Subject: [PATCH] Rename secure_path_set -> secure_path_status --- configure | 6 +++--- configure.ac | 6 +++--- docs/sudoers.man.in | 2 +- docs/sudoers.mdoc.in | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 9ac46b697..42cf00472 100755 --- a/configure +++ b/configure @@ -733,7 +733,7 @@ plugindir pam_login_service pam_session editor -secure_path_set +secure_path_status secure_path netsvc_conf nsswitch_conf @@ -3730,7 +3730,7 @@ sesh_file="$libexecdir/sudo/sesh" visudo="$sbindir/visudo" nsswitch_conf=/etc/nsswitch.conf secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -secure_path_set="disabled" +secure_path_status="disabled" pam_session=on pam_login_service=sudo plugindir="$libexecdir/sudo" @@ -6324,7 +6324,7 @@ then : printf "%s\n" "#define SECURE_PATH \"$secure_path\"" >>confdefs.h - secure_path_set="set to $secure_path" + secure_path_status="set to $secure_path" fi diff --git a/configure.ac b/configure.ac index 2f07e7c27..1a8c0b318 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,7 @@ AC_SUBST([sssd_lib]) AC_SUBST([nsswitch_conf]) AC_SUBST([netsvc_conf]) AC_SUBST([secure_path]) -AC_SUBST([secure_path_set]) +AC_SUBST([secure_path_status]) AC_SUBST([editor]) AC_SUBST([pam_session]) AC_SUBST([pam_login_service]) @@ -230,7 +230,7 @@ sesh_file="$libexecdir/sudo/sesh" visudo="$sbindir/visudo" nsswitch_conf=/etc/nsswitch.conf secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -secure_path_set="disabled" +secure_path_status="disabled" pam_session=on pam_login_service=sudo plugindir="$libexecdir/sudo" @@ -1078,7 +1078,7 @@ AC_ARG_WITH(secure-path, [AS_HELP_STRING([--with-secure-path], [override the use esac]) AS_IF([test "${with_secure_path-no}" != "no"], [ AC_DEFINE_UNQUOTED(SECURE_PATH, "$secure_path") - secure_path_set="set to $secure_path" + secure_path_status="set to $secure_path" ]) AC_ARG_WITH(interfaces, [AS_HELP_STRING([--without-interfaces], [don't try to read the ip addr of network interfaces])], diff --git a/docs/sudoers.man.in b/docs/sudoers.man.in index c8c22429b..3e19c0ed3 100644 --- a/docs/sudoers.man.in +++ b/docs/sudoers.man.in @@ -5677,7 +5677,7 @@ Users in the group specified by the \fIexempt_group\fR option are not affected by \fIsecure_path\fR. -This option is @secure_path_set@ by default. +This option is @secure_path_status@ by default. .RE .TP 14n syslog diff --git a/docs/sudoers.mdoc.in b/docs/sudoers.mdoc.in index d2ad64fa6..180f147e3 100644 --- a/docs/sudoers.mdoc.in +++ b/docs/sudoers.mdoc.in @@ -5320,7 +5320,7 @@ Users in the group specified by the .Em exempt_group option are not affected by .Em secure_path . -This option is @secure_path_set@ by default. +This option is @secure_path_status@ by default. .It syslog Syslog facility if syslog is being used for logging (negate to disable syslog logging).