mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
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:
parent
9124468a5e
commit
b9191d7a52
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user