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

Unified Diff: src/platform/update_engine/UpdateEngine.conf

Issue 1733013: AU: Beginnings of dbus support. (Closed)
Patch Set: fixes for wad's review Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/update_engine/SConstruct ('k') | src/platform/update_engine/dbus_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/UpdateEngine.conf
diff --git a/src/platform/update_engine/UpdateEngine.conf b/src/platform/update_engine/UpdateEngine.conf
new file mode 100644
index 0000000000000000000000000000000000000000..88d6dc421633e522f08f3e0249f68ba39a732815
--- /dev/null
+++ b/src/platform/update_engine/UpdateEngine.conf
@@ -0,0 +1,23 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.chromium.UpdateEngine" />
+ <allow send_destination="org.chromium.UpdateEngine" />
+ </policy>
+ <policy user="chronos">
+ <!-- introspection is denied -->
+ <deny send_destination="org.chromium.UpdateEngine"
+ send_interface="org.freedesktop.DBus.Introspectable" />
+ <!-- properties denied -->
+ <deny send_destination="org.chromium.UpdateEngine"
+ send_interface="org.freedesktop.DBus.Properties" />
+ <!-- allow explicit methods -->
+ <allow send_destination="org.chromium.UpdateEngine"
+ send_interface="org.chromium.UpdateEngineInterface"
+ send_member="GetStatus"/>
+ </policy>
+ <policy context="default">
+ <deny send_destination="org.chromium.UpdateEngine" />
+ </policy>
+</busconfig>
« no previous file with comments | « src/platform/update_engine/SConstruct ('k') | src/platform/update_engine/dbus_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698