1 |
commit: f8b0c787a9141006afde81ea2b37df96abd12863 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Mar 30 08:56:35 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 30 08:56:35 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f8b0c787 |
7 |
|
8 |
Moving to USE flag triggered alsa support |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/mozilla.te | 14 +++++++++----- |
12 |
1 file changed, 9 insertions(+), 5 deletions(-) |
13 |
|
14 |
diff --git a/policy/modules/contrib/mozilla.te b/policy/modules/contrib/mozilla.te |
15 |
index f08179d..b8d8c30 100644 |
16 |
--- a/policy/modules/contrib/mozilla.te |
17 |
+++ b/policy/modules/contrib/mozilla.te |
18 |
@@ -690,9 +690,11 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) |
19 |
') |
20 |
') |
21 |
|
22 |
- optional_policy(` |
23 |
- # HTML5 support is built-in (no plugin) - bug 464398 |
24 |
- alsa_domain(mozilla_t, mozilla_tmpfs_t) |
25 |
+ ifdef(`use_alsa',` |
26 |
+ optional_policy(` |
27 |
+ # HTML5 support is built-in (no plugin) - bug 464398 |
28 |
+ alsa_domain(mozilla_t, mozilla_tmpfs_t) |
29 |
+ ') |
30 |
') |
31 |
|
32 |
optional_policy(` |
33 |
@@ -738,8 +740,10 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) |
34 |
corenet_dontaudit_tcp_connect_all_unreserved_ports(mozilla_plugin_t) |
35 |
') |
36 |
|
37 |
- optional_policy(` |
38 |
- alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t) |
39 |
+ ifdef(`use_alsa',` |
40 |
+ optional_policy(` |
41 |
+ alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t) |
42 |
+ ') |
43 |
') |
44 |
|
45 |
optional_policy(` |