mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Add sudoers_ctx_free() and use it for freeing struct sudoers context.
This replaces sudoers_user_ctx_free() and sudoers_runas_ctx_free().
This commit is contained in:
@@ -407,6 +407,9 @@ extern sudo_conv_t sudo_conv;
|
||||
extern sudo_printf_t sudo_printf;
|
||||
extern struct sudo_plugin_event * (*plugin_event_alloc)(void);
|
||||
|
||||
/* sudoers_ctx_free.c */
|
||||
void sudoers_ctx_free(struct sudoers_context *ctx);
|
||||
|
||||
/* sudoers_debug.c */
|
||||
bool sudoers_debug_parse_flags(struct sudo_conf_debug_file_list *debug_files, const char *entry);
|
||||
bool sudoers_debug_register(const char *plugin_path, struct sudo_conf_debug_file_list *debug_files);
|
||||
|
Reference in New Issue
Block a user