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 messages with first arguments of '/aa/b', '/aa' or even '/aa/bb'. " Then I did a simple test using the attached test-bus-kernel-bloom.c , and I found that if I used arg0path='/p1/p2/' , the callback function couldn't run when I sent emit signal with '/' , '/p1/' , '/p1/p2/p3'.
I traced into the codes , and modified bloom_add_prefixes() , then I can watch the signals with '/p1/p2/p3' , and '/p1/p2/' , but still cannot watch the signals with '/' or '/p1/'. Any recommendations are appreciated. Thanks! Best Regards, Li Cheng
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel