summaryrefslogtreecommitdiffstats
path: root/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf')
-rw-r--r--meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf b/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf
new file mode 100644
index 00000000..f77845a3
--- /dev/null
+++ b/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins-config/audiomanager-plugins-config/org.genivi.audiomanager.routing.pulseaudio.conf
@@ -0,0 +1,35 @@
+<!-- This configuration file specifies the required security policies
+ for routing adapter for KP audio server to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+ <policy user="root">
+ <allow own="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_destination="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_interface="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow receive_sender="org.genivi.audiomanager.routing.pulseaudio"/>
+ </policy>
+
+ <policy user="adit">
+ <allow own="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_destination="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_interface="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow receive_sender="org.genivi.audiomanager.routing.pulseaudio"/>
+ </policy>
+
+ <policy at_console="true">
+ <allow own="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_destination="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow send_interface="org.genivi.audiomanager.routing.pulseaudio"/>
+ <allow receive_sender="org.genivi.audiomanager.routing.pulseaudio"/>
+ </policy>
+
+ <policy context="default">
+ <allow send_destination="org.genivi.audiomanager"/>
+ </policy>
+
+</busconfig>