Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 1 | <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 2 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 3 | <!-- |
| 4 | Copyright (C) 2019 The Android Open Source Project |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | !--> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 18 | <busconfig> |
| 19 | <policy user="root"> |
| 20 | <allow own="org.chromium.UpdateEngine" /> |
| 21 | <allow send_destination="org.chromium.UpdateEngine" /> |
| 22 | </policy> |
| 23 | <policy user="chronos"> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 24 | <allow send_destination="org.chromium.UpdateEngine" |
| 25 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 5a7f565 | 2010-07-22 21:40:09 -0700 | [diff] [blame] | 26 | send_member="AttemptUpdate"/> |
Andrew de los Reyes | 63b96d7 | 2010-05-10 13:08:54 -0700 | [diff] [blame] | 27 | <allow send_destination="org.chromium.UpdateEngine" |
| 28 | send_interface="org.chromium.UpdateEngineInterface" |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 29 | send_member="AttemptUpdateWithFlags"/> |
| 30 | <allow send_destination="org.chromium.UpdateEngine" |
| 31 | send_interface="org.chromium.UpdateEngineInterface" |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 32 | send_member="AttemptRollback"/> |
| 33 | <allow send_destination="org.chromium.UpdateEngine" |
| 34 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Vakulenko | 59e253e | 2014-02-24 10:40:21 -0800 | [diff] [blame] | 35 | send_member="CanRollback"/> |
| 36 | <allow send_destination="org.chromium.UpdateEngine" |
| 37 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 38 | send_member="GetRollbackPartition"/> |
| 39 | <allow send_destination="org.chromium.UpdateEngine" |
| 40 | send_interface="org.chromium.UpdateEngineInterface" |
Jay Srinivasan | c1ba09a | 2012-08-14 14:15:57 -0700 | [diff] [blame] | 41 | send_member="ResetStatus"/> |
| 42 | <allow send_destination="org.chromium.UpdateEngine" |
| 43 | send_interface="org.chromium.UpdateEngineInterface" |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 44 | send_member="GetStatusAdvanced"/> |
| 45 | <allow send_destination="org.chromium.UpdateEngine" |
| 46 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 47 | send_member="RebootIfNeeded"/> |
Satoru Takabayashi | 583667b | 2010-10-27 13:09:57 +0900 | [diff] [blame] | 48 | <allow send_destination="org.chromium.UpdateEngine" |
| 49 | send_interface="org.chromium.UpdateEngineInterface" |
Yuri Gorshenin | 86dc54d | 2013-06-20 17:53:36 +0400 | [diff] [blame] | 50 | send_member="SetChannel"/> |
| 51 | <allow send_destination="org.chromium.UpdateEngine" |
| 52 | send_interface="org.chromium.UpdateEngineInterface" |
| 53 | send_member="GetChannel"/> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 54 | <allow send_destination="org.chromium.UpdateEngine" |
| 55 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Deymo | 5b5fa8b | 2016-10-06 15:40:49 -0700 | [diff] [blame] | 56 | send_member="SetCohortHint"/> |
| 57 | <allow send_destination="org.chromium.UpdateEngine" |
| 58 | send_interface="org.chromium.UpdateEngineInterface" |
| 59 | send_member="GetCohortHint"/> |
| 60 | <allow send_destination="org.chromium.UpdateEngine" |
| 61 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 62 | send_member="SetP2PUpdatePermission"/> |
| 63 | <allow send_destination="org.chromium.UpdateEngine" |
| 64 | send_interface="org.chromium.UpdateEngineInterface" |
| 65 | send_member="GetP2PUpdatePermission"/> |
| 66 | <allow send_destination="org.chromium.UpdateEngine" |
| 67 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 68 | send_member="SetUpdateOverCellularPermission"/> |
| 69 | <allow send_destination="org.chromium.UpdateEngine" |
| 70 | send_interface="org.chromium.UpdateEngineInterface" |
Weidong Guo | 421ff33 | 2017-04-17 10:08:38 -0700 | [diff] [blame] | 71 | send_member="SetUpdateOverCellularTarget"/> |
| 72 | <allow send_destination="org.chromium.UpdateEngine" |
| 73 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 74 | send_member="GetUpdateOverCellularPermission"/> |
David Zeuthen | 3c55abd | 2013-10-14 12:48:03 -0700 | [diff] [blame] | 75 | <allow send_destination="org.chromium.UpdateEngine" |
| 76 | send_interface="org.chromium.UpdateEngineInterface" |
| 77 | send_member="GetDurationSinceUpdate"/> |
Alex Vakulenko | dea2eac | 2014-03-14 15:56:59 -0700 | [diff] [blame] | 78 | <allow send_destination="org.chromium.UpdateEngine" |
| 79 | send_interface="org.chromium.UpdateEngineInterface" |
Alex Vakulenko | 2bddadd | 2014-03-27 13:23:46 -0700 | [diff] [blame] | 80 | send_member="GetPrevVersion"/> |
Shuqian Zhao | 2997173 | 2016-02-05 11:29:32 -0800 | [diff] [blame] | 81 | <allow send_destination="org.chromium.UpdateEngine" |
| 82 | send_interface="org.chromium.UpdateEngineInterface" |
| 83 | send_member="GetLastAttemptError"/> |
Andrew de los Reyes | 000d895 | 2011-03-02 15:21:14 -0800 | [diff] [blame] | 84 | <allow send_interface="org.chromium.UpdateEngineLibcrosProxyResolvedInterface" /> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 85 | </policy> |
Daniel Erat | 8c75ea9 | 2014-01-10 10:16:07 -0800 | [diff] [blame] | 86 | <policy user="power"> |
| 87 | <allow send_destination="org.chromium.UpdateEngine" |
| 88 | send_interface="org.chromium.UpdateEngineInterface" |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 89 | send_member="GetStatusAdvanced"/> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 90 | </policy> |
Colin Howes | abf1770 | 2018-11-19 15:56:03 -0800 | [diff] [blame] | 91 | <policy user="dlcservice"> |
| 92 | <allow send_destination="org.chromium.UpdateEngine" |
| 93 | send_interface="org.chromium.UpdateEngineInterface" |
| 94 | send_member="GetStatus"/> |
| 95 | <allow send_destination="org.chromium.UpdateEngine" |
| 96 | send_interface="org.chromium.UpdateEngineInterface" |
Amin Hassani | eb463ee | 2019-06-20 19:23:03 -0700 | [diff] [blame] | 97 | send_member="GetStatusAdvanced"/> |
| 98 | <allow send_destination="org.chromium.UpdateEngine" |
| 99 | send_interface="org.chromium.UpdateEngineInterface" |
Colin Howes | abf1770 | 2018-11-19 15:56:03 -0800 | [diff] [blame] | 100 | send_member="AttemptInstall"/> |
Andrew | a8d7df3 | 2020-03-15 20:10:01 -0700 | [diff] [blame^] | 101 | <allow send_destination="org.chromium.UpdateEngine" |
| 102 | send_interface="org.chromium.UpdateEngineInterface" |
| 103 | send_member="SetDlcActiveValue"/> |
Colin Howes | abf1770 | 2018-11-19 15:56:03 -0800 | [diff] [blame] | 104 | </policy> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 105 | </busconfig> |