summaryrefslogtreecommitdiff
path: root/recipes/networkmanager/network-manager-applet
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-02 14:44:24 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-02 14:44:24 +0200
commit80891610ead222418a20a358b7bdb892fa676546 (patch)
tree16f2efdee9311322c8daf158d689364aaf0a27ce /recipes/networkmanager/network-manager-applet
parentfb82cf69a9114da395d8f4b452fc53423d077422 (diff)
network manager: work around some dbus at_console problems
Diffstat (limited to 'recipes/networkmanager/network-manager-applet')
-rw-r--r--recipes/networkmanager/network-manager-applet/nm-applet.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/networkmanager/network-manager-applet/nm-applet.conf b/recipes/networkmanager/network-manager-applet/nm-applet.conf
new file mode 100644
index 0000000000..109b00f435
--- /dev/null
+++ b/recipes/networkmanager/network-manager-applet/nm-applet.conf
@@ -0,0 +1,34 @@
+<!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.freedesktop.NetworkManagerUserSettings"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
+
+ <!-- Only root can get secrets -->
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
+ send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
+ </policy>
+ <policy at_console="true">
+ <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
+
+ <!-- Only root can get secrets -->
+ <deny send_destination="org.freedesktop.NetworkManagerUserSettings"
+ send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
+ </policy>
+ <policy context="default">
+ <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
+ send_interface="org.freedesktop.DBus.Introspectable"/>
+ </policy>
+
+ <limit name="max_replies_per_connection">512</limit>
+</busconfig>
+