Skip to contentSkip to conversation

alsa: needs to map its tmpfs files

PATCH New Jason Zaman 2 participants 2 messages Oct 30, 2017 – Oct 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa: needs to map its tmpfs files

---
 alsa.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
alsa.te +1 -1
index 0e3d5a7..86c0a3e 100644
@@ -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)
Signature · 1 line
2.13.6
#1 lore raw

PATCH 1/1 alsa: needs to map its tmpfs files

Quoted 9 lines · Jason Zaman
---
  alsa.te | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
alsa.te +0 -0
index 0e3d5a7..86c0a3e 100644

alsa.te manage_files_pattern(alsa_t, alsa_tmp_t, alsa_tmp_t) · line 72

Quoted 8 lines
alsa.te +1 -1
@@ -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)

Merged.

Signature · 1 line
Chris PeBenito