[refpolicy] [PATCH] alsa: needs to map its tmpfs files

Jason Zaman jason at perfinion.com
Mon Oct 30 09:40:09 UTC 2017


---
 alsa.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa.te b/alsa.te
index 0e3d5a7..86c0a3e 100644
--- a/alsa.te
+++ b/alsa.te
@@ -66,7 +66,7 @@ manage_files_pattern(alsa_t, alsa_tmp_t, alsa_tmp_t)
 files_tmp_filetrans(alsa_t, alsa_tmp_t, { dir file })
 userdom_user_tmp_filetrans(alsa_t, alsa_tmp_t, { dir file })
 
-allow alsa_t alsa_tmpfs_t:file manage_file_perms;
+allow alsa_t alsa_tmpfs_t:file { manage_file_perms map };
 fs_tmpfs_filetrans(alsa_t, alsa_tmpfs_t, file)
 
 manage_dirs_pattern(alsa_t, alsa_var_lib_t, alsa_var_lib_t)
-- 
2.13.6



More information about the refpolicy mailing list