]> git.ipfire.org Git - thirdparty/systemd.git/commit
core,seccomp: fix logic to parse RestrictAddressFamilies= in dbus-execute.c
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Dec 2017 02:05:43 +0000 (11:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Dec 2017 09:45:52 +0000 (18:45 +0900)
commit9ee896d5dd98ee9fba7c0ee40784a1266661cd5f
tree1ee3acf8692ce956db172308fb269d97834a009c
parent898748d8b97194e43f909e6edf27c100ecaad1be
core,seccomp: fix logic to parse RestrictAddressFamilies= in dbus-execute.c

If multiple RestrictAddressFamilies= settings, some of them are
whitelist and the others are blacklist, are sent to bus, then parsing
result was corrupted.
This fixes the parse logic, now it is the same as one used in
load-fragment.c
src/core/dbus-execute.c