summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-06-25 14:36:59 +0200
committerKay Sievers <kay@vrfy.org>2015-06-25 14:36:59 +0200
commit9ebdb1e057045d2b96f5980c61667cd41914177b (patch)
treeb16473ddef7c89d5c6c1cf92f80e59114f95a8a7 /src
parent3dfc034b4d46f67d6eda8801f1d4be26c37ab0b7 (diff)
parentb9191d7a521e0ec68351031d5bc360b99ac33094 (diff)
Merge pull request #363 from zonque/proxy
bus-proxy: ignore 'log' attributes in XML policy
Diffstat (limited to 'src')
-rw-r--r--src/bus-proxyd/bus-xml-policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bus-proxyd/bus-xml-policy.c b/src/bus-proxyd/bus-xml-policy.c
index 675d24485e..dab5acbcb4 100644
--- a/src/bus-proxyd/bus-xml-policy.c
+++ b/src/bus-proxyd/bus-xml-policy.c
@@ -301,7 +301,7 @@ static int file_load(Policy *p, const char *path) {
ic = POLICY_ITEM_USER;
else if (streq(name, "group"))
ic = POLICY_ITEM_GROUP;
- else if (streq(name, "eavesdrop")) {
+ else if (STR_IN_SET(name, "eavesdrop", "log")) {
log_debug("Unsupported attribute %s= at %s:%u, ignoring.", name, path, line);
state = STATE_ALLOW_DENY_OTHER_ATTRIBUTE;
break;