Chris PeBenito 17de1b
Chris PeBenito 17de1b
policy_module(mono,1.1.3)
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
domain_type(mono_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type mono_exec_t;
Chris PeBenito 17de1b
domain_entry_file(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 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 17de1b
		unconfined_dbus_connect(mono_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
')