Chris PeBenito a225f9
Chris PeBenito cdc86e
policy_module(mono,1.1.2)
Chris PeBenito a225f9
Chris PeBenito a225f9
########################################
Chris PeBenito a225f9
#
Chris PeBenito a225f9
# Declarations
Chris PeBenito a225f9
#
Chris PeBenito a225f9
Chris PeBenito a225f9
type mono_t;
Chris PeBenito a225f9
domain_type(mono_t)
Chris PeBenito a225f9
Chris PeBenito a225f9
type mono_exec_t;
Chris PeBenito a225f9
domain_entry_file(mono_t,mono_exec_t)
Chris PeBenito a225f9
Chris PeBenito a225f9
########################################
Chris PeBenito a225f9
#
Chris PeBenito a225f9
# Local policy
Chris PeBenito a225f9
#
Chris PeBenito a225f9
Chris PeBenito a225f9
ifdef(`targeted_policy',`
Chris PeBenito 51a89c
	allow mono_t self:process { execheap execmem };
Chris PeBenito 955019
	unconfined_domain_noaudit(mono_t)
Chris PeBenito a225f9
	role system_r types mono_t;
Chris PeBenito c655ec
Chris PeBenito cdc86e
	init_dbus_chat_script(mono_t)
Chris PeBenito cdc86e
Chris PeBenito c655ec
	optional_policy(`
Chris PeBenito c655ec
		avahi_dbus_chat(mono_t)
Chris PeBenito c655ec
	')
Chris PeBenito c655ec
Chris PeBenito c655ec
	optional_policy(`
Chris PeBenito c655ec
		hal_dbus_chat(mono_t)
Chris PeBenito c655ec
	')
Chris PeBenito cdc86e
Chris PeBenito cdc86e
	optional_policy(`
Chris PeBenito cdc86e
		networkmanager_dbus_chat(mono_t)
Chris PeBenito cdc86e
	')
Chris PeBenito a225f9
')