selinux-policy/refpolicy/policy/modules/admin/anaconda.te

60 lines
982 B
Plaintext
Raw Normal View History

2005-09-23 22:15:04 +00:00
2005-12-09 16:38:39 +00:00
policy_module(anaconda,1.0.0)
2005-09-23 22:15:04 +00:00
########################################
#
# Declarations
#
type anaconda_t;
domain_type(anaconda_t)
2006-02-02 21:08:12 +00:00
domain_obj_id_change_exemption(anaconda_t)
2005-09-23 22:15:04 +00:00
role system_r types anaconda_t;
########################################
#
# Local policy
#
# Run other rc scripts in the anaconda_t domain.
init_domtrans_script(anaconda_t)
libs_domtrans_ldconfig(anaconda_t)
logging_send_syslog_msg(anaconda_t)
modutils_domtrans_insmod(anaconda_t)
unconfined_domain(anaconda_t)
2005-09-23 22:15:04 +00:00
ifdef(`distro_redhat',`
bootloader_create_runtime_file(anaconda_t)
')
optional_policy(`
2005-09-23 22:15:04 +00:00
dmesg_domtrans(anaconda_t)
')
optional_policy(`
2005-11-08 22:00:30 +00:00
kudzu_domtrans(anaconda_t)
')
optional_policy(`
2005-09-23 22:15:04 +00:00
rpm_domtrans(anaconda_t)
')
optional_policy(`
2005-09-23 22:15:04 +00:00
udev_domtrans(anaconda_t)
')
optional_policy(`
2005-09-23 22:15:04 +00:00
usermanage_domtrans_admin_passwd(anaconda_t)
')
ifdef(`TODO',`
optional_policy(`
2005-09-23 22:15:04 +00:00
role system_r types sysadm_ssh_agent_t;
domain_auto_trans(anaconda_t, ssh_agent_exec_t, sysadm_ssh_agent_t)
')
')