Bring back SUDOERS_PLUGIN but add .dylib -> .so conversion for
Darwin where libraries end in .dylib but modules end in .so
This commit is contained in:
@@ -61,7 +61,7 @@ sudo_read_conf(const char *conf_file)
|
||||
/* Default values */
|
||||
info = emalloc(sizeof(*info));
|
||||
info->symbol_name = "sudoers_policy";
|
||||
info->path = "sudoers.so";
|
||||
info->path = SUDOERS_PLUGIN;
|
||||
info->prev = info;
|
||||
info->next = NULL;
|
||||
tq_append(&pil, info);
|
||||
|
Reference in New Issue
Block a user