blob: d436efcf765639d19f3049a0c262c48ce640bd75 [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 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.
-->
<!-- Security policies allowing the Chrome browser to start and manage the
Wilco DTC services -->
<busconfig>
<policy user="chronos">
<!--
Chrome browser manages a lifetime of wilco_dtc_supportd daemon.
"wilco_5fdtc_5fdispatcher" below refers to the "wilco_dtc_dispatcher"
upstart job. Upstart escapes characters that aren't valid in D-Bus object
paths use undescore as the escape character, followed by the character
code in hex.
-->
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_member="Start"
send_path="/com/ubuntu/Upstart/jobs/wilco_5fdtc_5fdispatcher" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call"
send_member="Stop"
send_path="/com/ubuntu/Upstart/jobs/wilco_5fdtc_5fdispatcher" />
</policy>
</busconfig>