| <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| <!-- |
| Copyright 2022 The ChromiumOS Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <busconfig> |
| <policy user="shadercached"> |
| <allow own="org.chromium.ShaderCache" /> |
| <allow receive_sender="org.chromium.ShaderCache" /> |
| <allow send_destination="org.chromium.ShaderCache" /> |
| |
| <!-- Allow shadercached to talk to DlcService--> |
| <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="Uninstall" /> |
| <allow send_destination="org.chromium.DlcService" |
| send_interface="org.chromium.DlcServiceInterface" |
| send_member="GetInstalled" /> |
| </policy> |
| <policy user="vm_cicerone"> |
| <allow receive_sender="org.chromium.ShaderCache" /> |
| <allow send_destination="org.chromium.ShaderCache" |
| send_interface="org.chromium.ShaderCache"/> |
| </policy> |
| <policy user="crosvm"> |
| <allow receive_sender="org.chromium.ShaderCache" /> |
| <allow send_destination="org.chromium.ShaderCache" |
| send_interface="org.chromium.ShaderCache"/> |
| </policy> |
| <!-- Debugging for root --> |
| <policy user="root"> |
| <allow own="org.chromium.ShaderCache" /> |
| <allow receive_sender="org.chromium.ShaderCache" /> |
| <allow send_destination="org.chromium.ShaderCache" /> |
| </policy> |
| <policy context="default"> |
| <deny send_destination="org.chromium.ShaderCache"/> |
| </policy> |
| </busconfig> |