commit:     be9577afa2ce0f880abb272b8f1fe0a556ca6552
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Thu May  1 08:46:21 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Thu May  1 08:46:21 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=be9577af

ALSA domains need usr read access to access /usr/share/alsa/*

---
 policy/modules/contrib/alsa.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/policy/modules/contrib/alsa.te b/policy/modules/contrib/alsa.te
index ee37692..93cd23b 100644
--- a/policy/modules/contrib/alsa.te
+++ b/policy/modules/contrib/alsa.te
@@ -128,6 +128,9 @@ ifdef(`distro_gentoo',`
        allow alsadomain alsadomain:shm rw_shm_perms;
        allow alsadomain alsatmpfsfile:file rw_file_perms;
 
+       # ALSA applications need access to /usr/share/alsa/*
+       files_read_usr_files(alsadomain)
+
        alsa_read_rw_config(alsadomain)
        alsa_read_home_files(alsadomain)
 ')

Reply via email to