2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Make it possible to call the sudoers policy check function multiple times.

We need to reset the Defaults values to their original state.
This commit is contained in:
Todd C. Miller
2021-08-09 15:50:25 -06:00
parent a556b373c9
commit 132936f8f0
13 changed files with 150 additions and 70 deletions

View File

@@ -24,7 +24,6 @@ typedef char * (*sudo_ldap_iter_t)(void **);
/* ldap_util.c */
bool sudo_ldap_is_negated(char **valp);
bool sudo_ldap_add_default(const char *var, const char *val, int op, char *source, struct defaults_list *defs);
int sudo_ldap_parse_option(char *optstr, char **varp, char **valp);
struct privilege *sudo_ldap_role_to_priv(const char *cn, void *hosts, void *runasusers, void *runasgroups, void *cmnds, void *opts, const char *notbefore, const char *notafter, bool warnings, bool store_options, sudo_ldap_iter_t iter);
struct member *sudo_ldap_new_member_all(void);