The plugin no longer needs to call initprogname() now that it links
with the same libsudo_util as sudo.
This commit is contained in:
@@ -246,10 +246,6 @@ sudoers_policy_deserialize_info(void *v, char **runas_user, char **runas_group)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_BSD_AUTH_H */
|
#endif /* HAVE_BSD_AUTH_H */
|
||||||
if (MATCHES(*cur, "progname=")) {
|
|
||||||
initprogname(*cur + sizeof("progname=") - 1);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (MATCHES(*cur, "network_addrs=")) {
|
if (MATCHES(*cur, "network_addrs=")) {
|
||||||
interfaces_string = *cur + sizeof("network_addrs=") - 1;
|
interfaces_string = *cur + sizeof("network_addrs=") - 1;
|
||||||
set_interfaces(interfaces_string);
|
set_interfaces(interfaces_string);
|
||||||
|
Reference in New Issue
Block a user