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

Unified Diff: dhcpcd-dbus.conf

Issue 2428004: Overhaul dhcpcd for chrome os use (Closed) Base URL: ssh://git@chromiumos-git//dhcpcd.git
Patch Set: purge hooks from configure to silence complaint Created 10 years, 6 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 | « dhcpcd-dbus.c ('k') | dhcpcd-hooks/01-test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dhcpcd-dbus.conf
diff --git a/dhcpcd-dbus.conf b/dhcpcd-dbus.conf
new file mode 100644
index 0000000000000000000000000000000000000000..3e0a7a5b5dabf4e5ad0b92ae630e9987bf322717
--- /dev/null
+++ b/dhcpcd-dbus.conf
@@ -0,0 +1,15 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <!-- Only root can own the dhcpcd service -->
+ <policy user="root">
+ <allow own="org.chromium.dhcpcd"/>
+ <allow send_interface="org.chromium.dhcpcd" />
+ <allow send_destination="org.chromium.dhcpcd" />
+ </policy>
+
+ <policy context="default">
+ <allow send_interface="org.chromium.dhcpcd" />
+ <allow send_destination="org.chromium.dhcpcd" />
+</policy>
+</busconfig>
« no previous file with comments | « dhcpcd-dbus.c ('k') | dhcpcd-hooks/01-test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698