aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Trentalancia <guido@trentalancia.com>2023-09-29 22:30:14 +0200
committerKenton Groombridge <concord@gentoo.org>2023-10-06 11:31:45 -0400
commita4c6f2483b5025b63c5d42837f9eabd73d9866fe (patch)
tree70a73d44c8a6f7dcf0b9cc4c565e1229a058ff93
parentmisc small email changes (#704) (diff)
downloadhardened-refpolicy-a4c6f248.tar.gz
hardened-refpolicy-a4c6f248.tar.bz2
hardened-refpolicy-a4c6f248.zip
Let openoffice perform temporary file transitions and manage link files.
Signed-off-by: Guido Trentalancia <guido@trentalancia.com> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
-rw-r--r--policy/modules/apps/openoffice.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/modules/apps/openoffice.te b/policy/modules/apps/openoffice.te
index 37ac6720c..f8cccacd4 100644
--- a/policy/modules/apps/openoffice.te
+++ b/policy/modules/apps/openoffice.te
@@ -61,8 +61,9 @@ userdom_user_home_dir_filetrans(ooffice_t, ooffice_home_t, dir, ".openoffice")
manage_dirs_pattern(ooffice_t, ooffice_tmp_t, ooffice_tmp_t)
manage_files_pattern(ooffice_t, ooffice_tmp_t, ooffice_tmp_t)
+manage_lnk_files_pattern(ooffice_t, ooffice_tmp_t, ooffice_tmp_t)
manage_sock_files_pattern(ooffice_t, ooffice_tmp_t, ooffice_tmp_t)
-files_tmp_filetrans(ooffice_t, ooffice_tmp_t, { dir file sock_file })
+files_tmp_filetrans(ooffice_t, ooffice_tmp_t, { dir file lnk_file sock_file })
can_exec(ooffice_t, ooffice_exec_t)