chiark / gitweb /
bus-proxyd: 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>
Tue, 11 Nov 2014 13:14:01 +0000 (14:14 +0100)
commit2a2be74654f0511220cf9a8a72f60ab5705abb87
tree81ef8737582963e93ad2112c9abbbfad3174f0a1
parent9cd751d2d0310275b2020bbb32c5e3f61a3cd53b
bus-proxyd: 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-proxyd.c