blob: 49b5e967e8710a892365bd14af71068cb98b5d30 [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright 2018 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.
-->
<busconfig>
<policy user="arc-keymasterd">
<allow own="org.chromium.ArcKeymaster" />
</policy>
<policy user="chronos">
<allow send_destination="org.chromium.ArcKeymaster"
send_interface="org.chromium.ArcKeymaster"
send_member="BootstrapMojoConnection"/>
<!-- Allow Chrome to manage arc-keymasterd lifecycle in ARCVM -->
<!--
"arc_2dkeymasterd" refers to the "arc-keymasterd" job. Upstart escapes
characters that aren't valid in D-Bus object paths with underscore
followed by its ascii code in hex, and 0x2d is the code for "-".
-->
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_path="/com/ubuntu/Upstart/jobs/arc_2dkeymasterd"/>
</policy>
</busconfig>