--- embedaddon/sudo/plugins/system_group/system_group.c 2012/05/29 12:26:49 1.1.1.1 +++ embedaddon/sudo/plugins/system_group/system_group.c 2013/07/22 10:46:13 1.1.1.3 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2012 Todd C. Miller + * Copyright (c) 2010-2013 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -17,7 +17,6 @@ #include #include -#include #include #include @@ -114,7 +113,7 @@ sysgroup_init(int version, sudo_printf_t sudo_printf, need_setent = true; } - handle = dlsym(RTLD_DEFAULT, "gr_delref"); + handle = dlsym(RTLD_DEFAULT, "sudo_gr_delref"); if (handle != NULL) sysgroup_gr_delref = (sysgroup_gr_delref_t)handle; @@ -163,7 +162,7 @@ sysgroup_query(const char *user, const char *group, co return false; } -struct sudoers_group_plugin group_plugin = { +__dso_public struct sudoers_group_plugin group_plugin = { GROUP_API_VERSION, sysgroup_init, sysgroup_cleanup,