Merge pull request #363 from zonque/proxy

bus-proxy: ignore 'log' attributes in XML policy
This commit is contained in:
Kay Sievers
2015-06-25 14:36:59 +02:00
+1 -1
View File
@@ -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;