On Wed, Sep 24, 2014 at 08:08:24AM -0700, Daniel Mack wrote: > src/bus-proxyd/bus-policy.c | 200 > ++++++++++++++++++++++++--------------- > src/bus-proxyd/bus-policy.h | 17 +++ > src/bus-proxyd/test-bus-policy.c | 92 +++++------------ > test/bus-policy/methods.conf | 2 > 4 files changed, 171 insertions(+), 140 deletions(-) > > New commits: > commit 078ef7b85ad77ba999588f72b31a50ced5907692 > Author: Daniel Mack <[email protected]> > Date: Wed Sep 24 17:02:08 2014 +0200 > > bus-policy: split API for bus-proxyd > > Instead of operating on an sd_bus_message object, expose an API that has 4 > functions: > > policy_check_own() > policy_check_hello() > policy_check_recv() > policy_check_send() > > This also allows dropping extra code to parse message contents - the bus > proxy already has dedicated code paths for that, and we can hook into > those later. > > Tests amended accordingly. Hi, test-bus-policy fails intermittently in 'make distcheck'
FAIL: test-bus-policy ===================== Assertion 'policy_check_own(&p, &ucred, "org.test.test1") == true' failed at ../src/bus-proxyd/test-bus-policy.c:58, function main(). Aborting. Zbyszek _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
