xserver: Allow xdm_t to map usr_t files

This is required for gtk-based login managers to access gtk's icon
cache. IIRC, past discussion on the ML came to the conclusion that
adding a new domain for this would be overkill.
This commit is contained in:
Luis Ressel 2017-11-14 03:03:53 +01:00 committed by Chris PeBenito
parent d23a97ff9c
commit 87b7360837
1 changed files with 1 additions and 0 deletions

View File

@ -450,6 +450,7 @@ files_read_etc_runtime_files(xdm_t)
files_exec_etc_files(xdm_t)
files_list_mnt(xdm_t)
# Read /usr/share/terminfo/l/linux and /usr/share/icons/default/index.theme...
files_map_usr_files(xdm_t)
files_read_usr_files(xdm_t)
# Poweroff wants to create the /poweroff file when run from xdm
files_create_boot_flag(xdm_t)