]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-policy: move name list iteration to policy users
authorDaniel Mack <daniel@zonque.org>
Thu, 9 Oct 2014 11:26:53 +0000 (13:26 +0200)
committerDaniel Mack <daniel@zonque.org>
Thu, 9 Oct 2014 11:31:01 +0000 (13:31 +0200)
commitd46fbfb48deff83943355992e55f9ef4431ff5ef
tree8a9603e4569183cc311f660c00c67057c4fd5784
parent374738d55b2bc4ab07c22f9a0be95a76de1c9478
bus-policy: move name list iteration to policy users

We need to figure out which of the possible names satisfied the policy,
so we cannot do the iteration in check_policy_item() but have to leave it
to the users.

Test cases amended accordingly.
src/bus-proxyd/bus-policy.c
src/bus-proxyd/bus-policy.h
src/bus-proxyd/test-bus-policy.c