Skip to content

Commit 29c5a12

Browse files
committed
Merge sudo 1.9.15p1 from tip.
--HG-- branch : 1.9
2 parents 839758e + 45aeedd commit 29c5a12

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

NEWS

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
What's new in Sudo 1.9.15p1
2+
3+
* Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based
4+
sudoers from being able to read the ldap.conf file.
5+
GitHub issue #325.
6+
17
What's new in Sudo 1.9.15
28

39
* Fixed an undefined symbol problem on older versions of macOS
@@ -85,7 +91,7 @@ What's new in Sudo 1.9.15
8591

8692
What's new in Sudo 1.9.14p3
8793

88-
* Fixed a crash with Python 3.12 when the sudo Python python is
94+
* Fixed a crash with Python 3.12 when the sudo Python plugin is
8995
unloaded. This only affects "make check" for the Python plugin.
9096

9197
* Adapted the sudo Python plugin test output to match Python 3.12.

configure

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.72c for sudo 1.9.15.
3+
# Generated by GNU Autoconf 2.72c for sudo 1.9.15p1.
44
#
55
# Report bugs to <https://bugzilla.sudo.ws/>.
66
#
@@ -614,8 +614,8 @@ MAKEFLAGS=
614614
# Identity of this package.
615615
PACKAGE_NAME='sudo'
616616
PACKAGE_TARNAME='sudo'
617-
PACKAGE_VERSION='1.9.15'
618-
PACKAGE_STRING='sudo 1.9.15'
617+
PACKAGE_VERSION='1.9.15p1'
618+
PACKAGE_STRING='sudo 1.9.15p1'
619619
PACKAGE_BUGREPORT='https://bugzilla.sudo.ws/'
620620
PACKAGE_URL=''
621621

@@ -1642,7 +1642,7 @@ if test "$ac_init_help" = "long"; then
16421642
# Omit some internal or obsolete options to make the list less imposing.
16431643
# This message is too long to be a string in the A/UX 3.1 sh.
16441644
cat <<_ACEOF
1645-
'configure' configures sudo 1.9.15 to adapt to many kinds of systems.
1645+
'configure' configures sudo 1.9.15p1 to adapt to many kinds of systems.
16461646

16471647
Usage: $0 [OPTION]... [VAR=VALUE]...
16481648

@@ -1708,7 +1708,7 @@ fi
17081708

17091709
if test -n "$ac_init_help"; then
17101710
case $ac_init_help in
1711-
short | recursive ) echo "Configuration of sudo 1.9.15:";;
1711+
short | recursive ) echo "Configuration of sudo 1.9.15p1:";;
17121712
esac
17131713
cat <<\_ACEOF
17141714

@@ -2003,7 +2003,7 @@ fi
20032003
test -n "$ac_init_help" && exit $ac_status
20042004
if $ac_init_version; then
20052005
cat <<\_ACEOF
2006-
sudo configure 1.9.15
2006+
sudo configure 1.9.15p1
20072007
generated by GNU Autoconf 2.72c
20082008

20092009
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2823,7 +2823,7 @@ cat >config.log <<_ACEOF
28232823
This file contains any messages produced by compilers while
28242824
running configure, to aid debugging if configure makes a mistake.
28252825

2826-
It was created by sudo $as_me 1.9.15, which was
2826+
It was created by sudo $as_me 1.9.15p1, which was
28272827
generated by GNU Autoconf 2.72c. Invocation command line was
28282828

28292829
$ $0$ac_configure_args_raw
@@ -36671,7 +36671,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3667136671
# report actual input values of CONFIG_FILES etc. instead of their
3667236672
# values after options handling.
3667336673
ac_log="
36674-
This file was extended by sudo $as_me 1.9.15, which was
36674+
This file was extended by sudo $as_me 1.9.15p1, which was
3667536675
generated by GNU Autoconf 2.72c. Invocation command line was
3667636676

3667736677
CONFIG_FILES = $CONFIG_FILES
@@ -36739,7 +36739,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
3673936739
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3674036740
ac_cs_config='$ac_cs_config_escaped'
3674136741
ac_cs_version="\\
36742-
sudo config.status 1.9.15
36742+
sudo config.status 1.9.15p1
3674336743
configured by $0, generated by GNU Autoconf 2.72c,
3674436744
with options \\"\$ac_cs_config\\"
3674536745

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1818
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1919
dnl
2020
AC_PREREQ([2.69])
21-
AC_INIT([sudo], [1.9.15], [https://bugzilla.sudo.ws/], [sudo])
21+
AC_INIT([sudo], [1.9.15p1], [https://bugzilla.sudo.ws/], [sudo])
2222
AC_CONFIG_HEADERS([config.h pathnames.h])
2323
AC_CONFIG_SRCDIR([src/sudo.c])
2424
AC_CONFIG_AUX_DIR([scripts])

plugins/sudoers/sudoers.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ struct group_list {
7878

7979
/*
8080
* Parse configuration settings.
81+
* Do not change the order without updating SUDOERS_PARSER_CONFIG_INITIALIZER.
8182
*/
8283
struct sudoers_parser_config {
8384
const char *sudoers_path;
@@ -102,6 +103,7 @@ struct sudoers_parser_config {
102103

103104
/*
104105
* Settings passed in from the sudo front-end.
106+
* Do not change the order without updating SUDOERS_CONTEXT_INITIALIZER.
105107
*/
106108
struct sudoers_plugin_settings {
107109
const char *plugin_dir;
@@ -183,7 +185,7 @@ struct sudoers_runas_context {
183185

184186
#define SUDOERS_CONTEXT_INITIALIZER { \
185187
SUDOERS_PARSER_CONFIG_INITIALIZER, \
186-
{ _PATH_LDAP_CONF, _PATH_LDAP_SECRET, _PATH_SUDO_PLUGIN_DIR } \
188+
{ _PATH_SUDO_PLUGIN_DIR, _PATH_LDAP_CONF, _PATH_LDAP_SECRET } \
187189
}
188190

189191
/*

0 commit comments

Comments
 (0)