<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<busconfig>
<policy user="chronos">
<allow own="org.chromium.VmLaunchService"/>
</policy>
<policy user="crosvm">
<allow send_destination="org.chromium.VmLaunchService"
send_interface="org.chromium.VmLaunchService"
send_member="StartWaylandServer"/>
<allow send_destination="org.chromium.VmLaunchService"
send_interface="org.chromium.VmLaunchService"
send_member="StopWaylandServer"/>
</policy>
<policy user="root">
<allow send_destination="org.chromium.VmLaunchService"
send_interface="org.chromium.VmLaunchService"
send_member="ProvideVmToken"/>
<allow send_destination="org.chromium.VmLaunchService"
send_interface="org.chromium.VmLaunchService"
send_member="EnsureVmLaunched"/>
</policy>
</busconfig>