blob: be2b3f478302cd1fb8936640cbe079638d1f1375 [file] [log] [blame] [edit]
<!--
Copyright 2016 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>
<policy context="default">
<allow send_destination="org.chromium.debugd"/>
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="SetOomScoreAdj" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EvaluateProbeFunction" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutput" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputFd" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputV2" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GenerateFirmwareDump" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="ClearFirmwareDumpBuffer" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetFeedbackBinaryLogs" />
<!-- Only typecd should access the following commands. -->
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcGetInventory" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCEnterMode" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCExitMode" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCDpState" />
<deny send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCHpdState" />
</policy>
<policy user="debugd">
<allow own="org.chromium.debugd"/>
</policy>
<policy user="root">
<allow own="org.chromium.debugd"/>
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="SetOomScoreAdj" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutput" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputFd" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputV2" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetFeedbackBinaryLogs" />
</policy>
<policy user="chronos">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="CroshStart" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="SetOomScoreAdj" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutput" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputFd" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetPerfOutputV2" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GetFeedbackBinaryLogs" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GenerateFirmwareDump" />
</policy>
<policy user="runtime_probe">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EvaluateProbeFunction" />
</policy>
<policy user="root">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EvaluateProbeFunction" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GenerateFirmwareDump" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="ClearFirmwareDumpBuffer" />
</policy>
<policy user="session_manager">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="BackupArcBugReport" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="DeleteArcBugReportBackup" />
</policy>
<policy user="typecd">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcGetInventory" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCEnterMode" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCExitMode" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCDpState" />
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="EcTypeCHpdState" />
</policy>
<policy user="shill">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="GenerateFirmwareDump" />
</policy>
<policy user="fbpreprocessor">
<allow send_destination="org.chromium.debugd"
send_interface="org.chromium.debugd"
send_member="ClearFirmwareDumpBuffer" />
</policy>
<limit name="max_replies_per_connection">1024</limit>
<limit name="max_messages_per_connection">512</limit>
</busconfig>