diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-04 19:46:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-04 19:46:46 +0100 |
commit | e59e22391a311997a35cfc8cc2ddd4bd002789be (patch) | |
tree | cfe93604ece562c6856db6fda7579c2b20f3da3f /package/sudo/patches/patch-plugins_sudoers_match_c | |
parent | 845701035431683a4130055894d5e7c5250d066d (diff) |
sudo: update to latest stable version
Diffstat (limited to 'package/sudo/patches/patch-plugins_sudoers_match_c')
-rw-r--r-- | package/sudo/patches/patch-plugins_sudoers_match_c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/sudo/patches/patch-plugins_sudoers_match_c b/package/sudo/patches/patch-plugins_sudoers_match_c index b2ebabb64..01e2ef79a 100644 --- a/package/sudo/patches/patch-plugins_sudoers_match_c +++ b/package/sudo/patches/patch-plugins_sudoers_match_c @@ -1,6 +1,6 @@ ---- sudo-1.8.12.orig/plugins/sudoers/match.c 2015-02-09 12:53:54.000000000 -0600 -+++ sudo-1.8.12/plugins/sudoers/match.c 2015-02-17 14:16:18.961371274 -0600 -@@ -129,10 +129,12 @@ userlist_matches(const struct passwd *pw +--- sudo-1.8.15.orig/plugins/sudoers/match.c 2015-11-01 00:35:25.000000000 +0100 ++++ sudo-1.8.15/plugins/sudoers/match.c 2015-11-03 16:24:34.000000000 +0100 +@@ -105,10 +105,12 @@ userlist_matches(const struct passwd *pw case ALL: matched = !m->negated; break; @@ -13,7 +13,7 @@ case USERGROUP: if (usergr_matches(m->name, pw->pw_name, pw)) matched = !m->negated; -@@ -185,10 +187,12 @@ runaslist_matches(const struct member_li +@@ -161,10 +163,12 @@ runaslist_matches(const struct member_li case ALL: user_matched = !m->negated; break; @@ -26,7 +26,7 @@ case USERGROUP: if (usergr_matches(m->name, runas_pw->pw_name, runas_pw)) user_matched = !m->negated; -@@ -285,10 +289,12 @@ hostlist_matches(const struct member_lis +@@ -261,10 +265,12 @@ hostlist_matches(const struct member_lis case ALL: matched = !m->negated; break; @@ -39,7 +39,7 @@ case NTWKADDR: if (addr_matches(m->name)) matched = !m->negated; -@@ -951,6 +957,7 @@ sudo_getdomainname(void) +@@ -962,6 +968,7 @@ sudo_getdomainname(void) * else return false. Either of "lhost", "shost" or "user" may be NULL * in which case that argument is not checked... */ @@ -47,7 +47,7 @@ bool netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user) { -@@ -989,3 +996,4 @@ netgr_matches(const char *netgr, const c +@@ -1000,3 +1007,4 @@ netgr_matches(const char *netgr, const c debug_return_bool(rc); } |