mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
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:
parent
8c93ebbdf0
commit
1008d415e7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user