chiark / gitweb /
bus: fix arg0path= two-way matching
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 10 Jun 2015 18:04:53 +0000 (20:04 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:01:50 +0000 (10:01 +0100)
commitc7ebb4bc4ee84c1235fb60d110ab6498c44c12a3
tree36a149cccfe733bf2cf7849d0af55fc002d9952e
parent19a26b687fef2c7efce49a1aefd376427a14ab41
bus: fix arg0path= two-way matching

DBus spec clearly defines arg0path= to be a two-way matching. That is,
either the matcher or the matchee can be a prefix of the other to match.
This is not possible to implement with bloom-filters. Instead, we'd have
to add a separate filter for each prefix. This is non-trivial, though.
Hence, just skip the match for now and match locally.
src/libelogind/sd-bus/bus-control.c