Fix configuration to make dbus-monitor work

BUG=none
TEST=dbus-monitor shows method returns and errors

Change-Id: Ib21b3f13e3ecb237615288bd8f8970711992b640
Reviewed-on: https://gerrit.chromium.org/gerrit/38747
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Ready: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
This commit is contained in:
Scott James Remnant 2012-11-27 11:53:22 -08:00 committed by Gerrit
parent 5afec63d76
commit 707e277431

View File

@ -1,9 +1,17 @@
<busconfig> <busconfig>
<policy context="default"> <policy context="default">
<!-- All messages may be received by default --> <!-- Allow all messages to be sent to and received by eavesdropping
<allow receive_requested_reply="false" receive_type="method_call" eavesdrop="true"/> connections. This overrides any deny rules in system.d -->
<allow receive_requested_reply="false" receive_type="method_return" eavesdrop="true"/> <allow send_type="method_call" eavesdrop="true"/>
<allow receive_requested_reply="false" receive_type="error" eavesdrop="true"/> <allow receive_type="method_call" eavesdrop="true"/>
<allow receive_requested_reply="false" receive_type="signal" eavesdrop="true"/>
<allow send_type="method_return" eavesdrop="true"/>
<allow receive_type="method_return" eavesdrop="true"/>
<allow send_type="error" eavesdrop="true"/>
<allow receive_type="error" eavesdrop="true"/>
<allow send_type="signal" eavesdrop="true"/>
<allow receive_type="signal" eavesdrop="true"/>
</policy> </policy>
</busconfig> </busconfig>