commit: d8e9a16c97f40ba83c7a55f9a543149006f24da1
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Mar 30 12:16:30 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 12:42:57 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d8e9a16c
Explicitly mention attribute, otherwise self becomes the domain
---
policy/modules/contrib/alsa.te | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/policy/modules/contrib/alsa.te b/policy/modules/contrib/alsa.te
index 054cbe9..ee37692 100644
--- a/policy/modules/contrib/alsa.te
+++ b/policy/modules/contrib/alsa.te
@@ -124,8 +124,8 @@ ifdef(`distro_gentoo',`
#
# alsadomain policy
#
- allow alsadomain self:sem create_sem_perms;
- allow alsadomain self:shm rw_shm_perms;
+ allow alsadomain alsadomain:sem create_sem_perms;
+ allow alsadomain alsadomain:shm rw_shm_perms;
allow alsadomain alsatmpfsfile:file rw_file_perms;
alsa_read_rw_config(alsadomain)