Change how sudo.conf is parsed. We now do a quick parse and then
set the values after the entire file has been parsed. This lets us init the debug system earlier. Plugin-specific debug flags are now stored in struct plugin_info and struct plugin_container and passed to the plugin via one or more debug_flags settings.
This commit is contained in:
@@ -82,6 +82,7 @@ struct io_plugin_1_1 {
|
||||
*/
|
||||
struct plugin_container {
|
||||
TAILQ_ENTRY(plugin_container) entries;
|
||||
struct sudo_conf_debug_file_list debug_files;
|
||||
const char *name;
|
||||
const char *path;
|
||||
char * const *options;
|
||||
|
Reference in New Issue
Block a user