|
Chris PeBenito |
ab58ad |
#DESC xdm - Linux configurable dynamic device naming support
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# Authors: Daniel Walsh <dwalsh@redhat.com>
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
#################################
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# Rules for the xdm domain.
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# xdm_exec_t is the type of the /usr/bin/gdm and other programs.
|
|
Chris PeBenito |
ab58ad |
# This domain is defined just for targeted policy.
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
type xdm_exec_t, file_type, sysadmfile, exec_type;
|
|
Chris PeBenito |
ab58ad |
type xsession_exec_t, file_type, sysadmfile, exec_type;
|
|
Chris PeBenito |
ab58ad |
type xserver_log_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
type xdm_xserver_tmp_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
type xdm_rw_etc_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
type xdm_var_run_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
type xdm_var_lib_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
type xdm_tmp_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
domain_auto_trans(initrc_t, xdm_exec_t, xdm_t)
|
|
Chris PeBenito |
ab58ad |
domain_auto_trans(init_t, xdm_exec_t, xdm_t)
|
|
Chris PeBenito |
ab58ad |
ifdef(`use_mcs', `
|
|
Chris PeBenito |
ab58ad |
range_transition init_t xdm_exec_t s0 - s0:c0.c255;
|
|
Chris PeBenito |
ab58ad |
range_transition initrc_t xdm_exec_t s0 - s0:c0.c255;
|
|
Chris PeBenito |
ab58ad |
')
|