selinux-policy/refpolicy/policy/modules/system/unconfined.te

42 lines
928 B
Plaintext
Raw Normal View History

2005-07-05 20:59:51 +00:00
policy_module(unconfined,1.0)
########################################
#
# Declarations
#
type unconfined_t;
type unconfined_exec_t;
init_system_domain(unconfined_t,unconfined_exec_t)
role system_r types unconfined_t;
########################################
#
# Local policy
#
2005-07-06 20:28:29 +00:00
unconfined_domain_template(unconfined_t)
2005-07-08 20:44:57 +00:00
2005-07-05 20:59:51 +00:00
logging_send_syslog_msg(unconfined_t)
#role sysadm_r types unconfined_t;
#domain_auto_trans(sysadm_t, unconfined_exec_t, unconfined_t)
2005-07-06 20:28:29 +00:00
ifdef(`targeted_policy',`
allow unconfined_t self:system syslog_read;
# Define some type aliases to help with compatibility with
# macros and domains from the "strict" policy.
# typealias unconfined_t alias { logrotate_t sendmail_t sshd_t secadm_t sysadm_t rpm_t rpm_script_t xdm_t };
2005-07-08 20:44:57 +00:00
init_domtrans_script(unconfined_t)
2005-07-06 20:28:29 +00:00
userdom_unconfined(unconfined_t)
ifdef(`TODO',`
#cjp: why is this needed?
ifdef(`samba.te', `samba_domain(user)')
') dnl end TODO
')