diff --git a/policy/modules/apps/wm.fc b/policy/modules/apps/wm.fc index 05129fea5..a9e34459d 100644 --- a/policy/modules/apps/wm.fc +++ b/policy/modules/apps/wm.fc @@ -1,5 +1,6 @@ /usr/bin/gnome-shell -- gen_context(system_u:object_r:wm_exec_t,s0) /usr/bin/openbox -- gen_context(system_u:object_r:wm_exec_t,s0) +/usr/bin/kwin_((wayland)|(x11)) -- gen_context(system_u:object_r:wm_exec_t,s0) /usr/bin/metacity -- gen_context(system_u:object_r:wm_exec_t,s0) /usr/bin/mutter -- gen_context(system_u:object_r:wm_exec_t,s0) /usr/bin/twm -- gen_context(system_u:object_r:wm_exec_t,s0) diff --git a/policy/modules/apps/wm.te b/policy/modules/apps/wm.te index defb17d88..355feee32 100644 --- a/policy/modules/apps/wm.te +++ b/policy/modules/apps/wm.te @@ -38,6 +38,7 @@ files_tmp_filetrans(wm_domain, wm_tmp_t, { dir file lnk_file }) manage_dirs_pattern(wm_domain, wm_tmpfs_t, wm_tmpfs_t) manage_files_pattern(wm_domain, wm_tmpfs_t, wm_tmpfs_t) +mmap_read_files_pattern(wm_domain, wm_tmpfs_t, wm_tmpfs_t) manage_lnk_files_pattern(wm_domain, wm_tmpfs_t, wm_tmpfs_t) fs_tmpfs_filetrans(wm_domain, wm_tmpfs_t, { dir file lnk_file })