[refpolicy] [PATCH 07/15] Allow mozilla to read the alsa config files
Sven Vermeulen
sven.vermeulen at siphos.be
Wed Mar 9 15:13:58 CST 2011
In order to allow firefox plugins playing music through ALSA, the mozilla
domain needs read access on the alsa_rw_config files.
Signed-off-by: Sven Vermeulen <sven.vermeulen at siphos.be>
---
policy/modules/apps/mozilla.te | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/policy/modules/apps/mozilla.te b/policy/modules/apps/mozilla.te
index c8c459c..6e0f04f 100644
--- a/policy/modules/apps/mozilla.te
+++ b/policy/modules/apps/mozilla.te
@@ -223,6 +223,10 @@ tunable_policy(`mozilla_read_content',`
')
optional_policy(`
+ alsa_read_rw_config(mozilla_t)
+')
+
+optional_policy(`
apache_read_user_scripts(mozilla_t)
apache_read_user_content(mozilla_t)
')
--
1.7.3.4
More information about the refpolicy
mailing list