blob: 42f73fc32e4f9c201e9885fde8674127f34bb9db [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"
Darin Petkov5a7f5652010-07-22 21:40:09 -070044 send_member="GetStatus"/>
Darin Petkov296889c2010-07-23 16:20:54 -070045 <allow send_destination="org.chromium.UpdateEngine"
46 send_interface="org.chromium.UpdateEngineInterface"
Amin Hassanieb463ee2019-06-20 19:23:03 -070047 send_member="GetStatusAdvanced"/>
48 <allow send_destination="org.chromium.UpdateEngine"
49 send_interface="org.chromium.UpdateEngineInterface"
Darin Petkov296889c2010-07-23 16:20:54 -070050 send_member="RebootIfNeeded"/>
Satoru Takabayashi583667b2010-10-27 13:09:57 +090051 <allow send_destination="org.chromium.UpdateEngine"
52 send_interface="org.chromium.UpdateEngineInterface"
Yuri Gorshenin86dc54d2013-06-20 17:53:36 +040053 send_member="SetChannel"/>
54 <allow send_destination="org.chromium.UpdateEngine"
55 send_interface="org.chromium.UpdateEngineInterface"
56 send_member="GetChannel"/>
Alex Deymof4867c42013-06-28 14:41:39 -070057 <allow send_destination="org.chromium.UpdateEngine"
58 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymo5b5fa8b2016-10-06 15:40:49 -070059 send_member="SetCohortHint"/>
60 <allow send_destination="org.chromium.UpdateEngine"
61 send_interface="org.chromium.UpdateEngineInterface"
62 send_member="GetCohortHint"/>
63 <allow send_destination="org.chromium.UpdateEngine"
64 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymo5fdf7762013-07-17 20:01:40 -070065 send_member="SetP2PUpdatePermission"/>
66 <allow send_destination="org.chromium.UpdateEngine"
67 send_interface="org.chromium.UpdateEngineInterface"
68 send_member="GetP2PUpdatePermission"/>
69 <allow send_destination="org.chromium.UpdateEngine"
70 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymof4867c42013-06-28 14:41:39 -070071 send_member="SetUpdateOverCellularPermission"/>
72 <allow send_destination="org.chromium.UpdateEngine"
73 send_interface="org.chromium.UpdateEngineInterface"
Weidong Guo421ff332017-04-17 10:08:38 -070074 send_member="SetUpdateOverCellularTarget"/>
75 <allow send_destination="org.chromium.UpdateEngine"
76 send_interface="org.chromium.UpdateEngineInterface"
Alex Deymof4867c42013-06-28 14:41:39 -070077 send_member="GetUpdateOverCellularPermission"/>
David Zeuthen3c55abd2013-10-14 12:48:03 -070078 <allow send_destination="org.chromium.UpdateEngine"
79 send_interface="org.chromium.UpdateEngineInterface"
80 send_member="GetDurationSinceUpdate"/>
Alex Vakulenkodea2eac2014-03-14 15:56:59 -070081 <allow send_destination="org.chromium.UpdateEngine"
82 send_interface="org.chromium.UpdateEngineInterface"
Alex Vakulenko2bddadd2014-03-27 13:23:46 -070083 send_member="GetPrevVersion"/>
Shuqian Zhao29971732016-02-05 11:29:32 -080084 <allow send_destination="org.chromium.UpdateEngine"
85 send_interface="org.chromium.UpdateEngineInterface"
86 send_member="GetLastAttemptError"/>
Alex Deymob3fa53b2016-04-18 19:57:58 -070087 <allow send_destination="org.chromium.UpdateEngine"
88 send_interface="org.chromium.UpdateEngineInterface"
89 send_member="GetEolStatus"/>
Andrew de los Reyes000d8952011-03-02 15:21:14 -080090 <allow send_interface="org.chromium.UpdateEngineLibcrosProxyResolvedInterface" />
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070091 </policy>
Daniel Erat8c75ea92014-01-10 10:16:07 -080092 <policy user="power">
93 <allow send_destination="org.chromium.UpdateEngine"
94 send_interface="org.chromium.UpdateEngineInterface"
95 send_member="GetStatus"/>
Amin Hassanieb463ee2019-06-20 19:23:03 -070096 <allow send_destination="org.chromium.UpdateEngine"
97 send_interface="org.chromium.UpdateEngineInterface"
98 send_member="GetStatusAdvanced"/>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070099 </policy>
Colin Howesabf17702018-11-19 15:56:03 -0800100 <policy user="dlcservice">
101 <allow send_destination="org.chromium.UpdateEngine"
102 send_interface="org.chromium.UpdateEngineInterface"
103 send_member="GetStatus"/>
104 <allow send_destination="org.chromium.UpdateEngine"
105 send_interface="org.chromium.UpdateEngineInterface"
Amin Hassanieb463ee2019-06-20 19:23:03 -0700106 send_member="GetStatusAdvanced"/>
107 <allow send_destination="org.chromium.UpdateEngine"
108 send_interface="org.chromium.UpdateEngineInterface"
Colin Howesabf17702018-11-19 15:56:03 -0800109 send_member="AttemptInstall"/>
110 </policy>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -0700111</busconfig>