Blame refpolicy/policy/modules/admin/anaconda.te
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
5ea24b |
policy_module(anaconda,1.0.0)
|
|
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 |
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 |
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 |
955019 |
unconfined_domain(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
9edc28 |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
9edc28 |
bootloader_create_runtime_file(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
132880 |
optional_policy(`dmesg',`
|
|
Chris PeBenito |
9edc28 |
dmesg_domtrans(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
132880 |
optional_policy(`kudzu',`
|
|
Chris PeBenito |
725926 |
kudzu_domtrans(anaconda_t)
|
|
Chris PeBenito |
725926 |
')
|
|
Chris PeBenito |
725926 |
|
|
Chris PeBenito |
132880 |
optional_policy(`rpm',`
|
|
Chris PeBenito |
9edc28 |
rpm_domtrans(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
132880 |
optional_policy(`udev',`
|
|
Chris PeBenito |
9edc28 |
udev_domtrans(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
132880 |
optional_policy(`usermanage',`
|
|
Chris PeBenito |
9edc28 |
usermanage_domtrans_admin_passwd(anaconda_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
|
|
Chris PeBenito |
9edc28 |
ifdef(`TODO',`
|
|
Chris PeBenito |
132880 |
optional_policy(`ssh',`
|
|
Chris PeBenito |
9edc28 |
role system_r types sysadm_ssh_agent_t;
|
|
Chris PeBenito |
9edc28 |
domain_auto_trans(anaconda_t, ssh_agent_exec_t, sysadm_ssh_agent_t)
|
|
Chris PeBenito |
9edc28 |
')
|
|
Chris PeBenito |
9edc28 |
')
|