Chris PeBenito 9edc28
Chris PeBenito d9845a
policy_module(anaconda,1.1.1)
Chris PeBenito 9edc28
Chris PeBenito 9edc28
########################################
Chris PeBenito 9edc28
#
Chris PeBenito 9edc28
# Declarations
Chris PeBenito 9edc28
#
Chris PeBenito 9edc28
Chris PeBenito 9edc28
type anaconda_t;
Chris PeBenito a5e213
type anaconda_exec_t;
Chris PeBenito 9edc28
domain_type(anaconda_t)
Chris PeBenito 1815ba
domain_obj_id_change_exemption(anaconda_t)
Chris PeBenito 9edc28
role system_r types anaconda_t;
Chris PeBenito 9edc28
Chris PeBenito 9edc28
########################################
Chris PeBenito 9edc28
#
Chris PeBenito 9edc28
# Local policy
Chris PeBenito 9edc28
#
Chris PeBenito 9edc28
Chris PeBenito a5e213
allow anaconda_t self:process execmem;
Chris PeBenito a5e213
Chris PeBenito a5e213
kernel_domtrans_to(anaconda_t,anaconda_exec_t)
Chris PeBenito a5e213
Chris PeBenito 9edc28
# Run other rc scripts in the anaconda_t domain.
Chris PeBenito 9edc28
init_domtrans_script(anaconda_t)
Chris PeBenito 9edc28
Chris PeBenito 9edc28
libs_domtrans_ldconfig(anaconda_t)
Chris PeBenito 9edc28
Chris PeBenito 9edc28
logging_send_syslog_msg(anaconda_t)
Chris PeBenito 9edc28
Chris PeBenito 9edc28
modutils_domtrans_insmod(anaconda_t)
Chris PeBenito 9edc28
Chris PeBenito a5e213
seutil_domtrans_semanage(anaconda_t)
Chris PeBenito a5e213
Chris PeBenito 955019
unconfined_domain(anaconda_t)
Chris PeBenito 9edc28
Chris PeBenito a5e213
userdom_generic_user_home_dir_filetrans_generic_user_home_content(anaconda_t,{ dir file lnk_file fifo_file sock_file })
Chris PeBenito a5e213
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 9edc28
	dmesg_domtrans(anaconda_t)
Chris PeBenito 9edc28
')
Chris PeBenito 9edc28
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 725926
	kudzu_domtrans(anaconda_t)
Chris PeBenito 725926
')
Chris PeBenito 725926
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 9edc28
	rpm_domtrans(anaconda_t)
Chris PeBenito a5e213
	rpm_domtrans_script(anaconda_t)
Chris PeBenito 9edc28
')
Chris PeBenito 9edc28
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito eac818
	ssh_domtrans_keygen(anaconda_t)
Chris PeBenito eac818
')
Chris PeBenito eac818
Chris PeBenito eac818
optional_policy(`
Chris PeBenito 9edc28
	udev_domtrans(anaconda_t)
Chris PeBenito 9edc28
')
Chris PeBenito 9edc28
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 9edc28
	usermanage_domtrans_admin_passwd(anaconda_t)
Chris PeBenito 9edc28
')