2017-04-13 23:25:46

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH 8/10] mozilla: add a permission

Update the mozilla module with a permission that firefox needs to
run (temporary lock file creation).

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/mozilla.te | 1 +
1 file changed, 1 insertion(+)

--- refpolicy-2.20170204-orig/policy/modules/contrib/mozilla.te 2017-02-04 19:30:35.000000000 +0100
+++ refpolicy-2.20170204/policy/modules/contrib/mozilla.te 2017-04-13 21:51:19.804205791 +0200
@@ -98,6 +107,7 @@ userdom_user_home_dir_filetrans(mozilla_
filetrans_pattern(mozilla_t, mozilla_home_t, mozilla_plugin_home_t, dir, "plugins")

manage_files_pattern(mozilla_t, mozilla_tmp_t, mozilla_tmp_t)
+manage_lnk_files_pattern(mozilla_t, mozilla_tmp_t, mozilla_tmp_t)
manage_dirs_pattern(mozilla_t, mozilla_tmp_t, mozilla_tmp_t)
files_tmp_filetrans(mozilla_t, mozilla_tmp_t, { file dir })