commit: f8b0c787a9141006afde81ea2b37df96abd12863
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Mar 30 08:56:35 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 08:56:35 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f8b0c787
Moving to USE flag triggered alsa support
---
policy/modules/contrib/mozilla.te | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/policy/modules/contrib/mozilla.te
b/policy/modules/contrib/mozilla.te
index f08179d..b8d8c30 100644
--- a/policy/modules/contrib/mozilla.te
+++ b/policy/modules/contrib/mozilla.te
@@ -690,9 +690,11 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false)
')
')
- optional_policy(`
- # HTML5 support is built-in (no plugin) - bug 464398
- alsa_domain(mozilla_t, mozilla_tmpfs_t)
+ ifdef(`use_alsa',`
+ optional_policy(`
+ # HTML5 support is built-in (no plugin) - bug 464398
+ alsa_domain(mozilla_t, mozilla_tmpfs_t)
+ ')
')
optional_policy(`
@@ -738,8 +740,10 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false)
corenet_dontaudit_tcp_connect_all_unreserved_ports(mozilla_plugin_t)
')
- optional_policy(`
- alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t)
+ ifdef(`use_alsa',`
+ optional_policy(`
+ alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t)
+ ')
')
optional_policy(`