summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2014-04-18 22:05:33 +0200
committerSven Vermeulen <sven.vermeulen@siphos.be>2014-04-18 22:05:33 +0200
commit8e35f4e8a33a7428aa4fae2f72bc1e9da9f074a2 (patch)
treee84b52a66c9dece785343fa9c4cf631ef86bbc36
parentMerging with upstream (diff)
downloadhardened-refpolicy-2.20140311-r2.tar.gz
hardened-refpolicy-2.20140311-r2.tar.bz2
hardened-refpolicy-2.20140311-r2.zip
Update file contexts for LightDM2.20140311-r2
-rw-r--r--policy/modules/services/xserver.fc9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc
index 29c8138c..9c8ebf86 100644
--- a/policy/modules/services/xserver.fc
+++ b/policy/modules/services/xserver.fc
@@ -118,3 +118,12 @@ ifndef(`distro_debian',`
ifdef(`distro_suse',`
/var/lib/pam_devperm/:0 -- gen_context(system_u:object_r:xdm_var_lib_t,s0)
')
+
+ifdef(`distro_gentoo',`
+/etc/lightdm/Xsession -- gen_context(system_u:object_r:xsession_exec_t,s0)
+
+/var/cache/lightdm(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0)
+/var/lib/lightdm(/.*)? gen_context(system_u:object_r:xdm_var_lib_t,s0)
+/var/log/lightdm(/.*)? gen_context(system_u:object_r:xserver_log_t,s0)
+/var/run/lightdm(/.*)? gen_context(system_u:object_r:xdm_var_run_t,s0)
+')