diff options
author | Jason Zaman <jason@perfinion.com> | 2018-06-16 14:43:20 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2018-06-16 22:35:45 +0800 |
commit | 91800ea6139c694b44466105595954ff72c91fb6 (patch) | |
tree | e45cdd0272caefe6d50b0913b3939ccad0604321 | |
parent | thunderbird: migrate to upstream xdg rules (diff) | |
download | hardened-refpolicy-91800ea6139c694b44466105595954ff72c91fb6.tar.gz hardened-refpolicy-91800ea6139c694b44466105595954ff72c91fb6.tar.bz2 hardened-refpolicy-91800ea6139c694b44466105595954ff72c91fb6.zip |
gpg: migrate to upstream xdg rules
-rw-r--r-- | policy/modules/contrib/gpg.te | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/policy/modules/contrib/gpg.te b/policy/modules/contrib/gpg.te index 0e6b6f743..e763b76b5 100644 --- a/policy/modules/contrib/gpg.te +++ b/policy/modules/contrib/gpg.te @@ -368,14 +368,6 @@ miscfiles_read_localization(gpg_pinentry_t) userdom_use_user_terminals(gpg_pinentry_t) -ifdef(`distro_gentoo',` - optional_policy(` - mutt_read_home_files(gpg_t) - mutt_read_tmp_files(gpg_t) - mutt_rw_tmp_files(gpg_t) - ') -') - xdg_read_data_files(gpg_pinentry_t) tunable_policy(`use_nfs_home_dirs',` @@ -404,10 +396,9 @@ optional_policy(` ') ifdef(`distro_gentoo',` - ######################################### - # - # gpg_pinentry_t policy - # - - xdg_read_data_home_files(gpg_pinentry_t) + optional_policy(` + mutt_read_home_files(gpg_t) + mutt_read_tmp_files(gpg_t) + mutt_rw_tmp_files(gpg_t) + ') ') |