|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
51a89c |
policy_module(unconfined,1.2.2)
|
|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
9726b3 |
########################################
|
|
Chris PeBenito |
9726b3 |
#
|
|
Chris PeBenito |
9726b3 |
# Declarations
|
|
Chris PeBenito |
9726b3 |
#
|
|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
77f6e2 |
# real declaration moved to mls until
|
|
Chris PeBenito |
77f6e2 |
# range_transition works in loadable modules
|
|
Chris PeBenito |
77f6e2 |
gen_require(`
|
|
Chris PeBenito |
77f6e2 |
type unconfined_t;
|
|
Chris PeBenito |
77f6e2 |
')
|
|
Chris PeBenito |
9726b3 |
type unconfined_exec_t;
|
|
Chris PeBenito |
9726b3 |
init_system_domain(unconfined_t,unconfined_exec_t)
|
|
Chris PeBenito |
9726b3 |
role system_r types unconfined_t;
|
|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
9726b3 |
########################################
|
|
Chris PeBenito |
9726b3 |
#
|
|
Chris PeBenito |
9726b3 |
# Local policy
|
|
Chris PeBenito |
9726b3 |
#
|
|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
c98340 |
unconfined_domain_template(unconfined_t)
|
|
Chris PeBenito |
a42ca7 |
|
|
Chris PeBenito |
9726b3 |
logging_send_syslog_msg(unconfined_t)
|
|
Chris PeBenito |
9726b3 |
|
|
Chris PeBenito |
c98340 |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
c98340 |
allow unconfined_t self:system syslog_read;
|
|
Chris PeBenito |
7ac225 |
dontaudit unconfined_t self:capability sys_module;
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
d3f715 |
files_create_boot_flag(unconfined_t)
|
|
Chris PeBenito |
d3f715 |
|
|
Chris PeBenito |
a42ca7 |
init_domtrans_script(unconfined_t)
|
|
Chris PeBenito |
a42ca7 |
|
|
Chris PeBenito |
b281bf |
libs_domtrans_ldconfig(unconfined_t)
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
b281bf |
logging_domtrans_auditctl(unconfined_t)
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
b281bf |
seutil_domtrans_restorecon(unconfined_t)
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
c98340 |
userdom_unconfined(unconfined_t)
|
|
Chris PeBenito |
ccfd7b |
userdom_priveleged_home_dir_manager(unconfined_t)
|
|
Chris PeBenito |
ccfd7b |
|
|
Chris PeBenito |
132880 |
optional_policy(`amanda',`
|
|
Chris PeBenito |
b281bf |
amanda_domtrans_recover(unconfined_t)
|
|
Chris PeBenito |
b281bf |
')
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
132880 |
optional_policy(`apache',`
|
|
Chris PeBenito |
30910b |
apache_domtrans_helper(unconfined_t)
|
|
Chris PeBenito |
30910b |
')
|
|
Chris PeBenito |
30910b |
|
|
Chris PeBenito |
132880 |
optional_policy(`bind',`
|
|
Chris PeBenito |
08c22f |
bind_domtrans_ndc(unconfined_t)
|
|
Chris PeBenito |
08c22f |
')
|
|
Chris PeBenito |
08c22f |
|
|
Chris PeBenito |
132880 |
optional_policy(`bluetooth',`
|
|
Chris PeBenito |
08c22f |
bluetooth_domtrans_helper(unconfined_t)
|
|
Chris PeBenito |
08c22f |
')
|
|
Chris PeBenito |
08c22f |
|
|
Chris PeBenito |
d828b5 |
optional_policy(`dbus',`
|
|
Chris PeBenito |
d828b5 |
dbus_stub(unconfined_t)
|
|
Chris PeBenito |
d828b5 |
|
|
Chris PeBenito |
9fd4b8 |
optional_policy(`avahi',`
|
|
Chris PeBenito |
9fd4b8 |
avahi_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
9fd4b8 |
')
|
|
Chris PeBenito |
9fd4b8 |
|
|
Chris PeBenito |
6f81e1 |
optional_policy(`bluetooth',`
|
|
Chris PeBenito |
6f81e1 |
bluetooth_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
6f81e1 |
')
|
|
Chris PeBenito |
6f81e1 |
|
|
Chris PeBenito |
6f81e1 |
optional_policy(`cups',`
|
|
Chris PeBenito |
6f81e1 |
cups_dbus_chat_config(unconfined_t)
|
|
Chris PeBenito |
6f81e1 |
')
|
|
Chris PeBenito |
6f81e1 |
|
|
Chris PeBenito |
9fd4b8 |
optional_policy(`hal',`
|
|
Chris PeBenito |
9fd4b8 |
hal_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
9fd4b8 |
')
|
|
Chris PeBenito |
9fd4b8 |
|
|
Chris PeBenito |
d828b5 |
optional_policy(`networkmanager',`
|
|
Chris PeBenito |
d828b5 |
networkmanager_dbus_chat(unconfined_t)
|
|
Chris PeBenito |
d828b5 |
')
|
|
Chris PeBenito |
d828b5 |
')
|
|
Chris PeBenito |
d828b5 |
|
|
Chris PeBenito |
132880 |
optional_policy(`dmidecode',`
|
|
Chris PeBenito |
b281bf |
dmidecode_domtrans(unconfined_t)
|
|
Chris PeBenito |
b281bf |
')
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
132880 |
optional_policy(`firstboot',`
|
|
Chris PeBenito |
b281bf |
firstboot_domtrans(unconfined_t)
|
|
Chris PeBenito |
33acca |
')
|
|
Chris PeBenito |
33acca |
|
|
Chris PeBenito |
132880 |
optional_policy(`lpd',`
|
|
Chris PeBenito |
33acca |
lpd_domtrans_checkpc(unconfined_t)
|
|
Chris PeBenito |
33acca |
')
|
|
Chris PeBenito |
33acca |
|
|
Chris PeBenito |
132880 |
optional_policy(`modutils',`
|
|
Chris PeBenito |
ccfd7b |
modutils_domtrans_update_mods(unconfined_t)
|
|
Chris PeBenito |
ccfd7b |
')
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
a225f9 |
optional_policy(`mono',`
|
|
Chris PeBenito |
a225f9 |
mono_domtrans(unconfined_t)
|
|
Chris PeBenito |
a225f9 |
')
|
|
Chris PeBenito |
a225f9 |
|
|
Chris PeBenito |
132880 |
optional_policy(`netutils',`
|
|
Chris PeBenito |
08c22f |
netutils_domtrans_ping(unconfined_t)
|
|
Chris PeBenito |
08c22f |
')
|
|
Chris PeBenito |
08c22f |
|
|
Chris PeBenito |
132880 |
optional_policy(`portmap',`
|
|
Chris PeBenito |
b281bf |
portmap_domtrans_helper(unconfined_t)
|
|
Chris PeBenito |
b281bf |
')
|
|
Chris PeBenito |
b281bf |
|
|
Chris PeBenito |
132880 |
optional_policy(`postfix',`
|
|
Chris PeBenito |
88dd38 |
postfix_domtrans_map(unconfined_t)
|
|
Chris PeBenito |
704327 |
# cjp: this should probably be removed:
|
|
Chris PeBenito |
704327 |
postfix_domtrans_master(unconfined_t)
|
|
Chris PeBenito |
704327 |
')
|
|
Chris PeBenito |
704327 |
|
|
Chris PeBenito |
132880 |
optional_policy(`rpc',`
|
|
Chris PeBenito |
704327 |
# cjp: this should probably be removed:
|
|
Chris PeBenito |
704327 |
rpc_domtrans_nfsd(unconfined_t)
|
|
Chris PeBenito |
88dd38 |
')
|
|
Chris PeBenito |
88dd38 |
|
|
Chris PeBenito |
132880 |
optional_policy(`rpm',`
|
|
Chris PeBenito |
f5e4f7 |
rpm_domtrans(unconfined_t)
|
|
Chris PeBenito |
f5e4f7 |
')
|
|
Chris PeBenito |
f5e4f7 |
|
|
Chris PeBenito |
132880 |
optional_policy(`samba',`
|
|
Chris PeBenito |
671673 |
samba_domtrans_net(unconfined_t)
|
|
Chris PeBenito |
b281bf |
samba_domtrans_winbind_helper(unconfined_t)
|
|
Chris PeBenito |
671673 |
')
|
|
Chris PeBenito |
671673 |
|
|
Chris PeBenito |
a77e65 |
optional_policy(`sendmail',`
|
|
Chris PeBenito |
a77e65 |
sendmail_domtrans(unconfined_t)
|
|
Chris PeBenito |
a77e65 |
')
|
|
Chris PeBenito |
a77e65 |
|
|
Chris PeBenito |
132880 |
optional_policy(`sysnetwork',`
|
|
Chris PeBenito |
704327 |
sysnet_domtrans_dhcpc(unconfined_t)
|
|
Chris PeBenito |
704327 |
')
|
|
Chris PeBenito |
704327 |
|
|
Chris PeBenito |
132880 |
optional_policy(`usermanage',`
|
|
Chris PeBenito |
d3f715 |
usermanage_domtrans_admin_passwd(unconfined_t)
|
|
Chris PeBenito |
d3f715 |
')
|
|
Chris PeBenito |
d3f715 |
|
|
Chris PeBenito |
132880 |
optional_policy(`webalizer',`
|
|
Chris PeBenito |
a525f2 |
webalizer_domtrans(unconfined_t)
|
|
Chris PeBenito |
a525f2 |
')
|
|
Chris PeBenito |
a525f2 |
|
|
Chris PeBenito |
a225f9 |
optional_policy(`wine',`
|
|
Chris PeBenito |
a225f9 |
wine_domtrans(unconfined_t)
|
|
Chris PeBenito |
77f6e2 |
')
|
|
Chris PeBenito |
c98340 |
')
|