core/dbus-execute: drop unnecessary flag

The code block is called only when the list was empty, and the newly
requested list is allow-list. Hence, invert_flag is always zero here.
This commit is contained in:
Yu Watanabe
2022-06-17 12:26:50 +09:00
parent 8c93ebbdf0
commit 1008d415e7
+1 -1
View File
@@ -2470,7 +2470,7 @@ int bus_exec_context_set_transient_property(
-1,
c->syscall_filter,
SECCOMP_PARSE_PERMISSIVE |
SECCOMP_PARSE_ALLOW_LIST | invert_flag,
SECCOMP_PARSE_ALLOW_LIST,
u->id,
NULL, 0);
if (r < 0)