diff --git a/policy/modules/services/xserver.fc b/policy/modules/services/xserver.fc index 084c18d..1e86113 100644 --- a/policy/modules/services/xserver.fc +++ b/policy/modules/services/xserver.fc @@ -34,6 +34,11 @@ HOME_DIR/\.Xauthority.* -- gen_context(system_u:object_r:ROLE_xauth_home_t,s0) /etc/X11/wdm/Xstartup.* -- gen_context(system_u:object_r:xsession_exec_t,s0) /etc/X11/Xsession[^/]* -- gen_context(system_u:object_r:xsession_exec_t,s0) +ifdef(`distro_redhat',` +/etc/gdm/PostSession/.* -- gen_context(system_u:object_r:xsession_exec_t,s0) +/etc/gdm/PreSession/.* -- gen_context(system_u:object_r:xsession_exec_t,s0) +') + # # /opt # diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te index 27475d8..363c2b6 100644 --- a/policy/modules/services/xserver.te +++ b/policy/modules/services/xserver.te @@ -1,5 +1,5 @@ -policy_module(xserver,1.5.1) +policy_module(xserver,1.5.2) ######################################## #