summaryrefslogtreecommitdiff
path: root/package/sudo/patches/patch-plugins_sudoers_match_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:04:17 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:04:38 -0600
commitea609a8124ecdf710a2dda0ac873c3c7b1678934 (patch)
treef1a92037a818881bf13b1afc922ab291470d5f8c /package/sudo/patches/patch-plugins_sudoers_match_c
parent28b86eff121307c3fa993ee0c4938a960c363a39 (diff)
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_c14
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 88fe5986c..b2ebabb64 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.11p2.orig/plugins/sudoers/match.c 2014-09-23 18:56:04.000000000 +0200
-+++ sudo-1.8.11p2/plugins/sudoers/match.c 2014-12-15 10:26:02.230233008 +0100
-@@ -126,10 +126,12 @@ userlist_matches(const struct passwd *pw
+--- 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
case ALL:
matched = !m->negated;
break;
@@ -13,7 +13,7 @@
case USERGROUP:
if (usergr_matches(m->name, pw->pw_name, pw))
matched = !m->negated;
-@@ -182,10 +184,12 @@ runaslist_matches(const struct member_li
+@@ -185,10 +187,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;
-@@ -282,10 +286,12 @@ hostlist_matches(const struct member_lis
+@@ -285,10 +289,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;
-@@ -939,6 +945,7 @@ sudo_getdomainname(void)
+@@ -951,6 +957,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)
{
-@@ -981,3 +988,4 @@ netgr_matches(const char *netgr, const c
+@@ -989,3 +996,4 @@ netgr_matches(const char *netgr, const c
debug_return_bool(rc);
}