|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
762d2c |
policy_module(unconfined,1.6.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
e070dd |
type unconfined_t;
|
|
Chris PeBenito |
17de1b |
type unconfined_exec_t;
|
|
Chris PeBenito |
17de1b |
init_system_domain(unconfined_t,unconfined_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
17de1b |
type unconfined_execmem_t;
|
|
Chris PeBenito |
17de1b |
type unconfined_execmem_exec_t;
|
|
Chris PeBenito |
17de1b |
init_system_domain(unconfined_execmem_t,unconfined_execmem_exec_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
unconfined_domain(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
17de1b |
allow unconfined_t self:system syslog_read;
|
|
Chris PeBenito |
17de1b |
dontaudit unconfined_t self:capability sys_module;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_auto_trans(unconfined_t,unconfined_execmem_exec_t,unconfined_execmem_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_create_boot_flag(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
mcs_killall(unconfined_t)
|
|
Chris PeBenito |
d6d16b |
mcs_ptrace_all(unconfined_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
init_domtrans_script(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_domtrans_ldconfig(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_domtrans_auditctl(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
mount_domtrans_unconfined(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
762d2c |
seutil_domtrans_setfiles(unconfined_t)
|
|
Chris PeBenito |
17de1b |
seutil_domtrans_semanage(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_unconfined(unconfined_t)
|
|
Chris PeBenito |
17de1b |
userdom_priveleged_home_dir_manager(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
ada_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
apache_domtrans_helper(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
bind_domtrans_ndc(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
6b19be |
bootloader_domtrans(unconfined_t)
|
|
Chris PeBenito |
6b19be |
')
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
init_dbus_chat_script(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dbus_stub(unconfined_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
avahi_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
bluetooth_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
c224d9 |
consolekit_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
c224d9 |
')
|
|
Chris PeBenito |
c224d9 |
|
|
Chris PeBenito |
c224d9 |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
cups_dbus_chat_config(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
hal_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
networkmanager_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
oddjob_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
firstboot_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
ftp_domtrans_ftpdctl(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
inn_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
java_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
lpd_domtrans_checkpc(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
modutils_domtrans_update_mods(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
mono_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
e2b84e |
oddjob_domtrans_mkhomedir(unconfined_t)
|
|
Chris PeBenito |
e2b84e |
')
|
|
Chris PeBenito |
e2b84e |
|
|
Chris PeBenito |
e2b84e |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
prelink_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
portmap_domtrans_helper(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
postfix_domtrans_map(unconfined_t)
|
|
Chris PeBenito |
17de1b |
# cjp: this should probably be removed:
|
|
Chris PeBenito |
17de1b |
postfix_domtrans_master(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
# cjp: this should probably be removed:
|
|
Chris PeBenito |
17de1b |
rpc_domtrans_nfsd(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
rpm_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
samba_domtrans_net(unconfined_t)
|
|
Chris PeBenito |
17de1b |
samba_domtrans_winbind_helper(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
sendmail_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
sysnet_domtrans_dhcpc(unconfined_t)
|
|
Chris PeBenito |
17de1b |
sysnet_dbus_chat_dhcpc(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
6b19be |
tzdata_domtrans(unconfined_t)
|
|
Chris PeBenito |
6b19be |
')
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
usermanage_domtrans_admin_passwd(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
vpn_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
webalizer_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
wine_domtrans(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
xserver_domtrans_xdm_xserver(unconfined_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Unconfined Execmem Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
17de1b |
allow unconfined_execmem_t self:process { execstack execmem };
|
|
Chris PeBenito |
17de1b |
unconfined_domain_noaudit(unconfined_execmem_t)
|
|
Chris PeBenito |
a5e213 |
|
|
Chris PeBenito |
a5e213 |
optional_policy(`
|
|
Chris PeBenito |
a5e213 |
dbus_stub(unconfined_execmem_t)
|
|
Chris PeBenito |
a5e213 |
|
|
Chris PeBenito |
a5e213 |
init_dbus_chat_script(unconfined_execmem_t)
|
|
Chris PeBenito |
a5e213 |
unconfined_dbus_chat(unconfined_execmem_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
hal_dbus_chat(unconfined_execmem_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
a5e213 |
')
|
|
Chris PeBenito |
17de1b |
')
|