File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
8283struct 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 */
106108struct 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/*
You can’t perform that action at this time.
0 commit comments