2006-01-19 23:00:23 +00:00
|
|
|
|
2006-09-22 17:14:35 +00:00
|
|
|
policy_module(mono,1.1.4)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type mono_t;
|
|
|
|
type mono_exec_t;
|
2006-09-22 17:14:35 +00:00
|
|
|
init_system_domain(mono_t,mono_exec_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
2006-01-27 20:13:08 +00:00
|
|
|
allow mono_t self:process { execheap execmem };
|
2006-09-01 15:52:05 +00:00
|
|
|
|
2006-02-06 22:47:46 +00:00
|
|
|
unconfined_domain_noaudit(mono_t)
|
2006-05-03 19:58:01 +00:00
|
|
|
unconfined_dbus_chat(mono_t)
|
2006-04-12 16:58:23 +00:00
|
|
|
|
2006-09-01 15:52:05 +00:00
|
|
|
userdom_generic_user_home_dir_filetrans_generic_user_home_content(mono_t,{ dir file lnk_file fifo_file sock_file })
|
|
|
|
|
2006-04-17 17:32:54 +00:00
|
|
|
init_dbus_chat_script(mono_t)
|
|
|
|
|
2006-04-12 16:58:23 +00:00
|
|
|
optional_policy(`
|
|
|
|
avahi_dbus_chat(mono_t)
|
|
|
|
')
|
|
|
|
|
2006-09-22 17:14:35 +00:00
|
|
|
optional_policy(`
|
|
|
|
cups_dbus_chat(mono_t)
|
|
|
|
')
|
|
|
|
|
2006-04-12 16:58:23 +00:00
|
|
|
optional_policy(`
|
|
|
|
hal_dbus_chat(mono_t)
|
|
|
|
')
|
2006-04-17 17:32:54 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
networkmanager_dbus_chat(mono_t)
|
|
|
|
')
|
2006-05-17 14:50:31 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
unconfined_dbus_connect(mono_t)
|
|
|
|
')
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|