blob: f9a66dce46c2c104d453dd00ba977363e4a22750 [file] [log] [blame]
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -07001<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
Amin Hassanieb463ee2019-06-20 19:23:03 -07003<!--
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 Reyes4e9b9f42010-04-26 15:06:43 -070018<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 Reyes4e9b9f42010-04-26 15:06:43 -070024 <allow send_destination="org.chromium.UpdateEngine"
25 send_interface="org.chromium.UpdateEngineInterface"
Darin Petkov5a7f5652010-07-22 21:40:09 -070026 send_member="AttemptUpdate"/>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070027 <allow send_destination="org.chromium.UpdateEngine"
28 send_interface="org.chromium.UpdateEngineInterface"
David Zeuthen75a4c3e2013-09-06 11:36:59 -070029 send_member="AttemptUpdateWithFlags"/>
30 <allow send_destination="org.chromium.UpdateEngine"
31 send_interface="org.chromium.UpdateEngineInterface"
Chris Sosad317e402013-06-12 13:47:09 -070032 send_member="AttemptRollback"/>
33 <allow send_destination="org.chromium.UpdateEngine"
34 send_interface="org.chromium.UpdateEngineInterface"
Alex Vakulenko59e253e2014-02-24 10:40:21 -080035 send_member="CanRollback"/>
36 <allow send_destination="org.chromium.UpdateEngine"
37 send_interface="org.chromium.UpdateEngineInterface"
Alex Vakulenko2bddadd2014-03-27 13:23:46 -070038 send_member="GetRollbackPartition"/>
39 <allow send_destination="org.chromium.UpdateEngine"
40 send_interface="org.chromium.UpdateEngineInterface"
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070041 send_member="ResetStatus"/>
42 <allow send_destination="org.chromium.UpdateEngine"
43 send_interface="org.chromium.UpdateEngineInterface"
Amin Hassanieb463ee2019-06-20 19:23:03 -070044 send_member="GetStatusAdvanced"/>
45 <allow send_destination="org.chromium.UpdateEngine"
46 send_interface="org.chromium.UpdateEngineInterface"
Darin Petkov296889c2010-07-23 16:20:54 -070047 send_member="RebootIfNeeded"/>
Satoru Takabayashi583667b2010-10-27 13:09:57 +090048 <allow send_destination="org.chromium.UpdateEngine"
49 send_interface="org.chromium.UpdateEngineInterface"
Yuri Gorshenin86dc54d2013-06-20 17:53:36 +040050 send_member="SetChannel"/>
51 <allow send_destination="org.chromium.UpdateEngine"
52 send_interface="org.chromium.UpdateEngineInterface"
53 send_member="GetChannel"/>
Alex Deymof4867c42013-06-28 14:41:39 -070054 <allow send_destination="org.chromium.UpdateEngine"
55 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymo5b5fa8b2016-10-06 15:40:49 -070056 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 Deymo5fdf7762013-07-17 20:01:40 -070062 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 Deymof4867c42013-06-28 14:41:39 -070068 send_member="SetUpdateOverCellularPermission"/>
69 <allow send_destination="org.chromium.UpdateEngine"
70 send_interface="org.chromium.UpdateEngineInterface"
Weidong Guo421ff332017-04-17 10:08:38 -070071 send_member="SetUpdateOverCellularTarget"/>
72 <allow send_destination="org.chromium.UpdateEngine"
73 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymof4867c42013-06-28 14:41:39 -070074 send_member="GetUpdateOverCellularPermission"/>
David Zeuthen3c55abd2013-10-14 12:48:03 -070075 <allow send_destination="org.chromium.UpdateEngine"
76 send_interface="org.chromium.UpdateEngineInterface"
77 send_member="GetDurationSinceUpdate"/>
Alex Vakulenkodea2eac2014-03-14 15:56:59 -070078 <allow send_destination="org.chromium.UpdateEngine"
79 send_interface="org.chromium.UpdateEngineInterface"
Alex Vakulenko2bddadd2014-03-27 13:23:46 -070080 send_member="GetPrevVersion"/>
Shuqian Zhao29971732016-02-05 11:29:32 -080081 <allow send_destination="org.chromium.UpdateEngine"
82 send_interface="org.chromium.UpdateEngineInterface"
83 send_member="GetLastAttemptError"/>
Andrew de los Reyes000d8952011-03-02 15:21:14 -080084 <allow send_interface="org.chromium.UpdateEngineLibcrosProxyResolvedInterface" />
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070085 </policy>
Daniel Erat8c75ea92014-01-10 10:16:07 -080086 <policy user="power">
87 <allow send_destination="org.chromium.UpdateEngine"
88 send_interface="org.chromium.UpdateEngineInterface"
Amin Hassanieb463ee2019-06-20 19:23:03 -070089 send_member="GetStatusAdvanced"/>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070090 </policy>
Colin Howesabf17702018-11-19 15:56:03 -080091 <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 Hassanieb463ee2019-06-20 19:23:03 -070097 send_member="GetStatusAdvanced"/>
98 <allow send_destination="org.chromium.UpdateEngine"
99 send_interface="org.chromium.UpdateEngineInterface"
Colin Howesabf17702018-11-19 15:56:03 -0800100 send_member="AttemptInstall"/>
Andrewa8d7df32020-03-15 20:10:01 -0700101 <allow send_destination="org.chromium.UpdateEngine"
102 send_interface="org.chromium.UpdateEngineInterface"
103 send_member="SetDlcActiveValue"/>
Colin Howesabf17702018-11-19 15:56:03 -0800104 </policy>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -0700105</busconfig>