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