| OLD | NEW |
| 1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | 1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | 2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 | 7 |
| 8 This file will be installed at /etc/dbus-1/system.d on Chromium OS. | 8 This file will be installed at /etc/dbus-1/system.d on Chromium OS. |
| 9 --> | 9 --> |
| 10 <busconfig> | 10 <busconfig> |
| 11 <policy user="chronos"> | 11 <policy user="chronos"> |
| 12 <allow own="org.chromium.LibCrosService"/> | 12 <allow own="org.chromium.LibCrosService"/> |
| 13 <allow receive_sender="org.chromium.LibCrosService"/> | 13 <allow receive_sender="org.chromium.LibCrosService"/> |
| 14 <allow send_destination="org.chromium.LibCrosService"/> | 14 <allow send_destination="org.chromium.LibCrosService"/> |
| 15 </policy> | 15 </policy> |
| 16 | 16 |
| 17 <!-- bluez makes agent method calls to Chromium. --> | 17 <!-- bluez makes agent method calls to Chromium. --> |
| 18 <policy user="bluetooth"> | 18 <policy user="bluetooth"> |
| 19 <allow send_destination="org.chromium.LibCrosService"/> | 19 <allow send_destination="org.chromium.LibCrosService"/> |
| 20 </policy> | 20 </policy> |
| 21 | 21 |
| 22 <!-- tlsdate needs to query proxy config. --> | 22 <!-- tlsdate needs to query proxy config. --> |
| 23 <policy user="tlsdate"> |
| 24 <allow send_destination="org.chromium.LibCrosService"/> |
| 25 </policy> |
| 26 <!-- TODO(cmasone): proxystate user is deprecated. crbug.com/376526 --> |
| 23 <policy user="proxystate"> | 27 <policy user="proxystate"> |
| 24 <allow send_destination="org.chromium.LibCrosService"/> | 28 <allow send_destination="org.chromium.LibCrosService"/> |
| 25 </policy> | 29 </policy> |
| 26 | 30 |
| 27 <!-- powerd needs to change display power states. --> | 31 <!-- powerd needs to change display power states. --> |
| 28 <policy user="power"> | 32 <policy user="power"> |
| 29 <allow send_destination="org.chromium.LibCrosService"/> | 33 <allow send_destination="org.chromium.LibCrosService"/> |
| 30 </policy> | 34 </policy> |
| 31 | 35 |
| 32 <!-- update_engine uses this service to resolve the proxy config. --> | 36 <!-- update_engine uses this service to resolve the proxy config. --> |
| 33 <policy user="root"> | 37 <policy user="root"> |
| 34 <allow send_destination="org.chromium.LibCrosService"/> | 38 <allow send_destination="org.chromium.LibCrosService"/> |
| 35 </policy> | 39 </policy> |
| 36 </busconfig> | 40 </busconfig> |
| OLD | NEW |