Support sudoers_file being a colon-separated path of files.
The first file found is used.
This commit is contained in:
@@ -421,7 +421,7 @@ void register_env_file(void * (*ef_open)(const char *), void (*ef_close)(void *)
|
||||
bool matches_env_pattern(const char *pattern, const char *var, bool *full_match);
|
||||
|
||||
/* sudoers.c */
|
||||
FILE *open_sudoers(const char *, bool, bool *);
|
||||
FILE *open_sudoers(const char *, char **, bool, bool *);
|
||||
bool cb_log_input(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op);
|
||||
bool cb_log_output(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op);
|
||||
int set_cmnd_path(const char *runchroot);
|
||||
|
Reference in New Issue
Block a user