2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Make path_plugin_dir private to policy.c and add getter.

This commit is contained in:
Todd C. Miller
2023-08-13 17:05:00 -06:00
parent 217b7b46f3
commit 392f0d61cb
5 changed files with 21 additions and 10 deletions

View File

@@ -398,14 +398,13 @@ bool sudoers_policy_store_result(bool accepted, char *argv[], char *envp[], mode
const struct sudoers_parser_config *policy_sudoers_conf(void);
const char *policy_path_ldap_conf(void);
const char *policy_path_ldap_secret(void);
const char *policy_path_plugin_dir(void);
/* group_plugin.c */
int group_plugin_load(const char *plugin_info);
void group_plugin_unload(void);
int group_plugin_query(const char *user, const char *group,
const struct passwd *pwd);
bool cb_group_plugin(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op);
extern const char *path_plugin_dir;
/* editor.c */
char *find_editor(int nfiles, char * const *files, int *argc_out,