projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb633a
)
The plugin no longer needs to call initprogname() now that it links
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Thu, 5 Feb 2015 18:08:55 +0000
(11:08 -0700)
committer
Todd 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
patch
|
blob
|
history
diff --git
a/plugins/sudoers/policy.c
b/plugins/sudoers/policy.c
index 36d6f0b529e7978d9aaeda94c7ad66f1d1944bc0..66bee6dff7b2138cf0b44662db79de527d9e4679 100644
(file)
--- a/
plugins/sudoers/policy.c
+++ b/
plugins/sudoers/policy.c
@@
-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);