1 |
commit: 0b7e39fefa6fca45c58765353953f7b54c9d9248 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Nov 25 20:33:14 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sun Nov 25 20:34:50 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=0b7e39fe |
7 |
|
8 |
Alsa is an optional domain for mplayer |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/mplayer.te | 6 ++++-- |
12 |
1 files changed, 4 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/policy/modules/contrib/mplayer.te b/policy/modules/contrib/mplayer.te |
15 |
index 766c4d6..aa06187 100644 |
16 |
--- a/policy/modules/contrib/mplayer.te |
17 |
+++ b/policy/modules/contrib/mplayer.te |
18 |
@@ -207,8 +207,6 @@ userdom_use_user_terminals(mplayer_t) |
19 |
xserver_user_x_domain_template(mplayer, mplayer_t, mplayer_tmpfs_t) |
20 |
|
21 |
ifdef(`distro_gentoo',` |
22 |
- alsa_domain(mplayer_t, mplayer_tmpfs_t) |
23 |
- |
24 |
xdg_manage_videos_home(mplayer_t) |
25 |
|
26 |
tunable_policy(`mplayer_read_user_content',` |
27 |
@@ -226,6 +224,10 @@ ifdef(`distro_gentoo',` |
28 |
|
29 |
userdom_write_user_tmp_sockets(mplayer_t) |
30 |
') |
31 |
+ |
32 |
+ optional_policy(` |
33 |
+ alsa_domain(mplayer_t, mplayer_tmpfs_t) |
34 |
+ ') |
35 |
') |
36 |
|
37 |
ifndef(`enable_mls',` |