commit: a4c6f2483b5025b63c5d42837f9eabd73d9866fe Author: Guido Trentalancia <guido <AT> trentalancia <DOT> com> AuthorDate: Fri Sep 29 20:30:14 2023 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Fri Oct 6 15:31:45 2023 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a4c6f248
Let openoffice perform temporary file transitions and manage link files. Signed-off-by: Guido Trentalancia <guido <AT> trentalancia.com> Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> policy/modules/apps/openoffice.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)