selinux-policy/refpolicy/policy/modules/admin/anaconda.te
2005-11-08 22:00:30 +00:00

60 lines
1.0 KiB
Plaintext

policy_module(anaconda,1.0)
########################################
#
# Declarations
#
type anaconda_t;
domain_type(anaconda_t)
domain_obj_id_change_exempt(anaconda_t)
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_template(anaconda_t)
ifdef(`distro_redhat',`
bootloader_create_runtime_file(anaconda_t)
')
optional_policy(`dmesg.te',`
dmesg_domtrans(anaconda_t)
')
optional_policy(`kudzu.te',`
kudzu_domtrans(anaconda_t)
')
optional_policy(`rpm.te',`
rpm_domtrans(anaconda_t)
')
optional_policy(`udev.te',`
udev_domtrans(anaconda_t)
')
optional_policy(`usermanage.te',`
usermanage_domtrans_admin_passwd(anaconda_t)
')
ifdef(`TODO',`
optional_policy(`ssh.te',`
role system_r types sysadm_ssh_agent_t;
domain_auto_trans(anaconda_t, ssh_agent_exec_t, sysadm_ssh_agent_t)
')
')