Chris PeBenito 9726b3
Chris PeBenito 41b25f
policy_module(unconfined,1.3.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 955019
unconfined_domain(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 bb7170
	optional_policy(`
Chris PeBenito b281bf
		amanda_domtrans_recover(unconfined_t)
Chris PeBenito b281bf
	')
Chris PeBenito b281bf
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 30910b
		apache_domtrans_helper(unconfined_t)
Chris PeBenito 30910b
	')
Chris PeBenito 30910b
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 08c22f
		bind_domtrans_ndc(unconfined_t)
Chris PeBenito 08c22f
	')
Chris PeBenito 08c22f
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 08c22f
		bluetooth_domtrans_helper(unconfined_t)
Chris PeBenito 08c22f
	')
Chris PeBenito 08c22f
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito d828b5
		dbus_stub(unconfined_t)
Chris PeBenito d828b5
Chris PeBenito bb7170
		optional_policy(`
Chris PeBenito 9fd4b8
			avahi_dbus_chat(unconfined_t)
Chris PeBenito 9fd4b8
		')
Chris PeBenito 9fd4b8
Chris PeBenito bb7170
		optional_policy(`
Chris PeBenito 6f81e1
			bluetooth_dbus_chat(unconfined_t)
Chris PeBenito 6f81e1
		')
Chris PeBenito 6f81e1
Chris PeBenito bb7170
		optional_policy(`
Chris PeBenito 6f81e1
			cups_dbus_chat_config(unconfined_t)
Chris PeBenito 6f81e1
		')
Chris PeBenito 6f81e1
Chris PeBenito bb7170
		optional_policy(`
Chris PeBenito 9fd4b8
			hal_dbus_chat(unconfined_t)
Chris PeBenito 9fd4b8
		')
Chris PeBenito 9fd4b8
Chris PeBenito bb7170
		optional_policy(`
Chris PeBenito d828b5
			networkmanager_dbus_chat(unconfined_t)
Chris PeBenito d828b5
		')
Chris PeBenito d828b5
	')
Chris PeBenito d828b5
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito b281bf
		dmidecode_domtrans(unconfined_t)
Chris PeBenito b281bf
	')
Chris PeBenito b281bf
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito b281bf
		firstboot_domtrans(unconfined_t)
Chris PeBenito 33acca
	')
Chris PeBenito 33acca
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 46c69c
		java_domtrans(unconfined_t)
Chris PeBenito 46c69c
	')
Chris PeBenito 46c69c
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 33acca
		lpd_domtrans_checkpc(unconfined_t)
Chris PeBenito 33acca
	')
Chris PeBenito 33acca
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito ccfd7b
		modutils_domtrans_update_mods(unconfined_t)
Chris PeBenito ccfd7b
	')
Chris PeBenito c98340
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito a225f9
		mono_domtrans(unconfined_t)
Chris PeBenito a225f9
	')
Chris PeBenito b0d224
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 08c22f
		netutils_domtrans_ping(unconfined_t)
Chris PeBenito 08c22f
	')
Chris PeBenito 08c22f
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito b281bf
		portmap_domtrans_helper(unconfined_t)
Chris PeBenito b281bf
	')
Chris PeBenito b281bf
Chris PeBenito bb7170
	optional_policy(`
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 bb7170
	optional_policy(`
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 bb7170
	optional_policy(`
Chris PeBenito f5e4f7
		rpm_domtrans(unconfined_t)
Chris PeBenito f5e4f7
	')
Chris PeBenito f5e4f7
Chris PeBenito bb7170
	optional_policy(`
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 bb7170
	optional_policy(`
Chris PeBenito a77e65
		sendmail_domtrans(unconfined_t)
Chris PeBenito a77e65
	')
Chris PeBenito a77e65
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 704327
		sysnet_domtrans_dhcpc(unconfined_t)
Chris PeBenito 704327
	')
Chris PeBenito 704327
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito d3f715
		usermanage_domtrans_admin_passwd(unconfined_t)
Chris PeBenito d3f715
	')
Chris PeBenito d3f715
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 46c69c
		vpn_domtrans(unconfined_t)
Chris PeBenito 46c69c
	')
Chris PeBenito 46c69c
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito a525f2
		webalizer_domtrans(unconfined_t)
Chris PeBenito a525f2
	')
Chris PeBenito a525f2
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito a225f9
		wine_domtrans(unconfined_t)
Chris PeBenito 77f6e2
	')
Chris PeBenito 955019
Chris PeBenito bb7170
	optional_policy(`
Chris PeBenito 955019
		xserver_domtrans_xdm_xserver(unconfined_t)
Chris PeBenito 955019
	')
Chris PeBenito c98340
')