The plugin no longer needs to call initprogname() now that it links

with the same libsudo_util as sudo.
This commit is contained in:
Todd C. Miller
2015-02-05 11:08:55 -07:00
parent 1bb633a210
commit 1e30824a1a

View File

@@ -246,10 +246,6 @@ sudoers_policy_deserialize_info(void *v, char **runas_user, char **runas_group)
continue;
}
#endif /* HAVE_BSD_AUTH_H */
if (MATCHES(*cur, "progname=")) {
initprogname(*cur + sizeof("progname=") - 1);
continue;
}
if (MATCHES(*cur, "network_addrs=")) {
interfaces_string = *cur + sizeof("network_addrs=") - 1;
set_interfaces(interfaces_string);