[systemd-devel] question about BUS_MATCH_ARG_PATH

2015-06-10 Thread eshark77
Hi, All, According to the DBus protocol, http://dbus.freedesktop.org/doc/dbus-specification.html An example argument path match is arg0path='/aa/bb/'. This would match messages with first arguments of '/', '/aa/', '/aa/bb/', '/aa/bb/cc/' and '/aa/bb/cc'. It would not match

Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-09 Thread eshark77
Hi, David, I think I've found the reason for my problem. That is , with arg0path=/p1/p2/p3, The sent signal should be sent with arg0=/p1/p2/p3/, but not arg0=/p1/p2/p3. Then Another question is, with arg0path=/p1/p2, the signal sent with arg0=/p1/p2/p3 should be received and the

Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-08 Thread eshark77
Hi, David I just modified the src/libsystemd/sd-bus/test-bus-match.c. And you could add the following two lines in the bloom_add_data() in bus-bloom.c for (i = 0; i size/sizeof(uint64_t); i++) log_info(bloom: filter[%d] = 0x%llx,i, filter[i]); Hi, All, I use

[systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-04 Thread eshark77
Hi, All, I use libsystemd.so for the kdbus protocol layer, and I met a question that I added a signal matching rule by sd_bus_add_match() , then I sent signal by sd_bus_send(). But I couldn't receive this signal because its bloom_filter caculated by siphash24() NOT match the