]> granicus.if.org Git - sudo/commitdiff
The plugin no longer needs to call initprogname() now that it links
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Feb 2015 18:08:55 +0000 (11:08 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Feb 2015 18:08:55 +0000 (11:08 -0700)
with the same libsudo_util as sudo.

plugins/sudoers/policy.c

index 36d6f0b529e7978d9aaeda94c7ad66f1d1944bc0..66bee6dff7b2138cf0b44662db79de527d9e4679 100644 (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);