1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 10:25:06 +03:00

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
commit 9ebdb1e057

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;