2010-07-22 13:13:11 +00:00
|
|
|
policy_module(anaconda, 1.5.1)
|
2005-09-23 22:15:04 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type anaconda_t;
|
2006-08-29 02:41:00 +00:00
|
|
|
type anaconda_exec_t;
|
2005-09-23 22:15:04 +00:00
|
|
|
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
|
|
|
|
#
|
|
|
|
|
2006-08-29 02:41:00 +00:00
|
|
|
allow anaconda_t self:process execmem;
|
|
|
|
|
2008-07-23 21:38:39 +00:00
|
|
|
kernel_domtrans_to(anaconda_t, anaconda_exec_t)
|
2006-08-29 02:41:00 +00:00
|
|
|
|
2005-09-23 22:15:04 +00:00
|
|
|
init_domtrans_script(anaconda_t)
|
|
|
|
|
|
|
|
libs_domtrans_ldconfig(anaconda_t)
|
|
|
|
|
|
|
|
logging_send_syslog_msg(anaconda_t)
|
|
|
|
|
|
|
|
modutils_domtrans_insmod(anaconda_t)
|
2010-06-29 15:55:31 +00:00
|
|
|
modutils_domtrans_depmod(anaconda_t)
|
2005-09-23 22:15:04 +00:00
|
|
|
|
2006-08-29 02:41:00 +00:00
|
|
|
seutil_domtrans_semanage(anaconda_t)
|
2010-08-26 13:41:21 +00:00
|
|
|
seutil_domtrans_setsebool(anaconda_t)
|
2006-08-29 02:41:00 +00:00
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_user_home_dir_filetrans_user_home_content(anaconda_t, { dir file lnk_file fifo_file sock_file })
|
2006-08-29 02:41:00 +00:00
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-11-08 22:00:30 +00:00
|
|
|
kudzu_domtrans(anaconda_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-09-23 22:15:04 +00:00
|
|
|
rpm_domtrans(anaconda_t)
|
2006-08-29 02:41:00 +00:00
|
|
|
rpm_domtrans_script(anaconda_t)
|
2005-09-23 22:15:04 +00:00
|
|
|
')
|
|
|
|
|
2006-09-01 15:52:05 +00:00
|
|
|
optional_policy(`
|
|
|
|
ssh_domtrans_keygen(anaconda_t)
|
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-09-23 22:15:04 +00:00
|
|
|
udev_domtrans(anaconda_t)
|
|
|
|
')
|
|
|
|
|
2008-08-07 14:17:50 +00:00
|
|
|
optional_policy(`
|
2010-08-26 13:41:21 +00:00
|
|
|
unconfined_domain_noaudit(anaconda_t)
|
2008-08-07 14:17:50 +00:00
|
|
|
')
|
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2005-09-23 22:15:04 +00:00
|
|
|
usermanage_domtrans_admin_passwd(anaconda_t)
|
|
|
|
')
|