In the plugin registers with the debug framework at open time, the

sudo front-end will now set the default debug instance appropriately
before calling into the plugin.  This means the plugin no longer needs
to do the sudo_debug_set_default_instance() dance.
This commit is contained in:
Todd C. Miller
2014-10-24 11:17:48 -06:00
parent a2e9d66be1
commit 4bf641df69
8 changed files with 103 additions and 83 deletions

View File

@@ -87,6 +87,7 @@ struct plugin_container {
const char *path;
char * const *options;
void *handle;
int debug_instance;
union {
struct generic_plugin *generic;
struct policy_plugin *policy;