Chris PeBenito 17de1b
Chris PeBenito 42c5c5
policy_module(mono,1.3.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type mono_t;
Chris PeBenito 17de1b
type mono_exec_t;
Chris PeBenito 8708d9
init_system_domain(mono_t,mono_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`targeted_policy',`
Chris PeBenito 17de1b
	allow mono_t self:process { execheap execmem };
Chris PeBenito eac818
Chris PeBenito 17de1b
	unconfined_domain_noaudit(mono_t)
Chris PeBenito 17de1b
	unconfined_dbus_chat(mono_t)
Chris PeBenito 17de1b
Chris PeBenito eac818
	userdom_generic_user_home_dir_filetrans_generic_user_home_content(mono_t,{ dir file lnk_file fifo_file sock_file })
Chris PeBenito eac818
Chris PeBenito 17de1b
	init_dbus_chat_script(mono_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 17de1b
		avahi_dbus_chat(mono_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 8708d9
		cups_dbus_chat(mono_t)
Chris PeBenito 8708d9
	')
Chris PeBenito 8708d9
Chris PeBenito 8708d9
	optional_policy(`
Chris PeBenito 17de1b
		hal_dbus_chat(mono_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 17de1b
		networkmanager_dbus_chat(mono_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito d9845a
		rpm_dbus_chat(mono_t)
Chris PeBenito d9845a
	')
Chris PeBenito d9845a
Chris PeBenito d9845a
	optional_policy(`
Chris PeBenito 17de1b
		unconfined_dbus_connect(mono_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
')