diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te index ff3d0cfd6..1afcb7757 100644 --- a/policy/modules/services/xserver.te +++ b/policy/modules/services/xserver.te @@ -102,6 +102,9 @@ typealias user_xproperty_t alias { auditadm_xproperty_t secadm_xproperty_t }; typealias user_input_xevent_t alias { staff_input_xevent_t sysadm_input_xevent_t }; typealias user_input_xevent_t alias { auditadm_input_xevent_t secadm_input_xevent_t }; +type dmrc_home_t; +userdom_user_home_content(dmrc_home_t) + type remote_t; xserver_object_types_template(remote) xserver_common_x_domain_template(remote, remote_t) @@ -211,9 +214,6 @@ corecmd_executable_file(xsession_exec_t) type xserver_log_t; logging_log_file(xserver_log_t) -type dmrc_home_t; -userdom_user_home_content(dmrc_home_t) - ifdef(`enable_mcs',` init_ranged_domain(xdm_t, xdm_exec_t, s0 - mcs_systemhigh) init_ranged_daemon_domain(xdm_t, xdm_exec_t, s0 - mcs_systemhigh)