Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: UpdateEngine.conf

Issue 3034026: AU: Provide a reboot_if_needed D-Bus API. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: reboot error code doesn't necessarily signal a problem. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dbus_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
OLDNEW
« no previous file with comments | « no previous file | dbus_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698