bus-proxy: ignore 'log' attributes in XML policy

'log' is unsupported but nothing to warn about. Ignore it just like we
ignore 'eavesdrop'.
This commit is contained in:
Daniel Mack 2015-06-25 13:13:17 +02:00
parent 9124468a5e
commit b9191d7a52

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;