blob: f5cb8d654a22cba046fc2b019ea42e69a8dd8ca1 [file] [log] [blame] [edit]
<!--
Copyright 2019 The ChromiumOS Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Needed by Chrome net-internals. -->
<policy user="chronos">
<allow send_destination="org.chromium.Modemfwd"
send_interface="org.chromium.Modemfwd"
send_member="SetDebugMode" />
<allow send_destination="org.chromium.Modemfwd"
send_interface="org.chromium.Modemfwd"
send_member="ForceFlash" />
</policy>
<policy user="root">
<allow send_destination="org.chromium.Modemfwd"
send_interface="org.chromium.Modemfwd"
send_member="SetDebugMode" />
<allow send_destination="org.chromium.Modemfwd"
send_interface="org.chromium.Modemfwd"
send_member="ForceFlash" />
</policy>
<policy user="shill-scripts">
<allow send_destination="org.chromium.Modemfwd"
send_interface="org.chromium.Modemfwd"
send_member="ForceFlash" />
</policy>
<policy user="modem">
<allow own="org.chromium.Modemfwd" />
<allow receive_sender="org.chromium.DlcService" />
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="Install" />
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="Purge" />
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="GetExistingDlcs" />
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="GetDlcState" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_member="Start"
send_path="/com/ubuntu/Upstart/jobs/hermes" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_member="Stop"
send_path="/com/ubuntu/Upstart/jobs/hermes" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_member="Start"
send_path="/com/ubuntu/Upstart/jobs/modemfwd_2dhelpers" />
</policy>
<limit name="max_replies_per_connection">512</limit>
</busconfig>