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 <busconfig> | 3 <busconfig> |
4 <policy user="root"> | 4 <policy user="root"> |
5 <allow own="org.chromium.UpdateEngine" /> | 5 <allow own="org.chromium.UpdateEngine" /> |
6 <allow send_destination="org.chromium.UpdateEngine" /> | 6 <allow send_destination="org.chromium.UpdateEngine" /> |
7 </policy> | 7 </policy> |
8 <policy user="chronos"> | 8 <policy user="chronos"> |
9 <!-- introspection is denied --> | 9 <!-- introspection is denied --> |
10 <deny send_destination="org.chromium.UpdateEngine" | 10 <deny send_destination="org.chromium.UpdateEngine" |
11 send_interface="org.freedesktop.DBus.Introspectable" /> | 11 send_interface="org.freedesktop.DBus.Introspectable" /> |
12 <!-- properties denied --> | 12 <!-- properties denied --> |
13 <deny send_destination="org.chromium.UpdateEngine" | 13 <deny send_destination="org.chromium.UpdateEngine" |
14 send_interface="org.freedesktop.DBus.Properties" /> | 14 send_interface="org.freedesktop.DBus.Properties" /> |
15 <!-- allow explicit methods --> | 15 <!-- allow explicit methods --> |
16 <allow send_destination="org.chromium.UpdateEngine" | 16 <allow send_destination="org.chromium.UpdateEngine" |
17 send_interface="org.chromium.UpdateEngineInterface" | 17 send_interface="org.chromium.UpdateEngineInterface" |
18 send_member="AttemptUpdate"/> | 18 send_member="AttemptUpdate"/> |
19 <allow send_destination="org.chromium.UpdateEngine" | 19 <allow send_destination="org.chromium.UpdateEngine" |
20 send_interface="org.chromium.UpdateEngineInterface" | 20 send_interface="org.chromium.UpdateEngineInterface" |
21 send_member="CheckForUpdate"/> | 21 send_member="CheckForUpdate"/> |
22 <allow send_destination="org.chromium.UpdateEngine" | 22 <allow send_destination="org.chromium.UpdateEngine" |
23 send_interface="org.chromium.UpdateEngineInterface" | 23 send_interface="org.chromium.UpdateEngineInterface" |
24 send_member="GetStatus"/> | 24 send_member="GetStatus"/> |
| 25 <allow send_destination="org.chromium.UpdateEngine" |
| 26 send_interface="org.chromium.UpdateEngineInterface" |
| 27 send_member="RebootIfNeeded"/> |
25 </policy> | 28 </policy> |
26 <policy context="default"> | 29 <policy context="default"> |
27 <deny send_destination="org.chromium.UpdateEngine" /> | 30 <deny send_destination="org.chromium.UpdateEngine" /> |
28 </policy> | 31 </policy> |
29 </busconfig> | 32 </busconfig> |
OLD | NEW |