summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sec-policy/selinux-mplayer/files/fix-alsa-is-optional-r8.patch')
-rw-r--r--sec-policy/selinux-mplayer/files/fix-alsa-is-optional-r8.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sec-policy/selinux-mplayer/files/fix-alsa-is-optional-r8.patch b/sec-policy/selinux-mplayer/files/fix-alsa-is-optional-r8.patch
new file mode 100644
index 000000000000..de6a559cacbf
--- /dev/null
+++ b/sec-policy/selinux-mplayer/files/fix-alsa-is-optional-r8.patch
@@ -0,0 +1,22 @@
+--- contrib/mplayer.te 2012-11-25 21:02:45.896073761 +0100
++++ contrib/mplayer.te 2012-11-25 21:02:14.847042646 +0100
+@@ -207,8 +207,6 @@
+ xserver_user_x_domain_template(mplayer, mplayer_t, mplayer_tmpfs_t)
+
+ ifdef(`distro_gentoo',`
+- alsa_domain(mplayer_t, mplayer_tmpfs_t)
+-
+ xdg_manage_videos_home(mplayer_t)
+
+ tunable_policy(`mplayer_read_user_content',`
+@@ -226,6 +224,10 @@
+
+ userdom_write_user_tmp_sockets(mplayer_t)
+ ')
++
++ optional_policy(`
++ alsa_domain(mplayer_t, mplayer_tmpfs_t)
++ ')
+ ')
+
+ ifndef(`enable_mls',`