2006-01-19 23:00:23 +00:00
|
|
|
|
2008-04-29 13:58:34 +00:00
|
|
|
policy_module(mono,1.4.1)
|
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
|
|
|
|
#
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
allow mono_t self:process { execheap execmem };
|
2006-09-01 15:52:05 +00:00
|
|
|
|
2008-04-29 13:58:34 +00:00
|
|
|
unprivuser_home_dir_filetrans_home_content(mono_t,{ dir file lnk_file fifo_file sock_file })
|
2006-09-01 15:52:05 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
init_dbus_chat_script(mono_t)
|
2006-04-17 17:32:54 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
avahi_dbus_chat(mono_t)
|
|
|
|
')
|
2006-04-12 16:58:23 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
cups_dbus_chat(mono_t)
|
|
|
|
')
|
2006-09-22 17:14:35 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
hal_dbus_chat(mono_t)
|
|
|
|
')
|
2006-04-17 17:32:54 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
networkmanager_dbus_chat(mono_t)
|
|
|
|
')
|
2006-05-17 14:50:31 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
rpm_dbus_chat(mono_t)
|
|
|
|
')
|
2006-10-31 21:01:48 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
|
|
|
unconfined_domain_noaudit(mono_t)
|
|
|
|
unconfined_dbus_chat(mono_t)
|
|
|
|
unconfined_dbus_connect(mono_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|