blob: 5f849fe06137dc662f9deabf8fe2d055b351b283 [file] [log] [blame]
<!--
Copyright 2019 The Chromium OS Authors. All rights reserved.
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" />
</policy>
<limit name="max_replies_per_connection">512</limit>
</busconfig>