commit: beebac5c01a502b2ac5ee30864fc15cfbb63c96e
Author: Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Sat Jun 16 06:39:33 2018 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Jun 16 14:35:45 2018 +0000
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=beebac5c
thunderbird: migrate to upstream xdg rules
policy/modules/contrib/thunderbird.te | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/policy/modules/contrib/thunderbird.te
b/policy/modules/contrib/thunderbird.te
index 4fa94a18..1f39efce 100644
--- a/policy/modules/contrib/thunderbird.te
+++ b/policy/modules/contrib/thunderbird.te
@@ -180,8 +180,7 @@ optional_policy(`
')
ifdef(`distro_gentoo',`
- type thunderbird_xdg_cache_home_t;
- xdg_cache_home_content(thunderbird_xdg_cache_home_t)
+ typealias thunderbird_xdg_cache_t alias thunderbird_xdg_cache_home_t;
type thunderbird_tmp_t;
userdom_user_tmp_file(thunderbird_tmp_t)
@@ -198,10 +197,6 @@ ifdef(`distro_gentoo',`
manage_files_pattern(thunderbird_t, thunderbird_tmp_t,
thunderbird_tmp_t)
files_tmp_filetrans(thunderbird_t, thunderbird_tmp_t, { dir file })
- manage_files_pattern(thunderbird_t, thunderbird_xdg_cache_home_t,
thunderbird_xdg_cache_home_t)
- manage_dirs_pattern(thunderbird_t, thunderbird_xdg_cache_home_t,
thunderbird_xdg_cache_home_t)
- xdg_cache_home_filetrans(thunderbird_t, thunderbird_xdg_cache_home_t,
dir)
-
# File preview apps for instance
corecmd_exec_bin(thunderbird_t)
@@ -209,10 +204,6 @@ ifdef(`distro_gentoo',`
dev_rw_dri(thunderbird_t)
userdom_use_user_ptys(thunderbird_t)
- # User content access
- userdom_user_content_access_template(thunderbird, thunderbird_t)
-
- xdg_read_data_home_files(thunderbird_t)
optional_policy(`
pulseaudio_domtrans(thunderbird_t)