2010-12-13 14:12:22 +00:00
|
|
|
policy_module(mono, 1.8.0)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type mono_t;
|
|
|
|
type mono_exec_t;
|
2010-02-19 15:42:43 +00:00
|
|
|
application_type(mono_t)
|
2008-07-23 21:38:39 +00:00
|
|
|
init_system_domain(mono_t, mono_exec_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2010-02-19 15:42:43 +00:00
|
|
|
allow mono_t self:process { ptrace signal getsched execheap execmem execstack };
|
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
|
|
|
|
2010-02-19 15:42:43 +00:00
|
|
|
userdom_user_home_dir_filetrans_user_home_content(mono_t, { dir file lnk_file fifo_file sock_file })
|
2008-11-05 16:10:46 +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(`
|
2010-02-19 15:42:43 +00:00
|
|
|
unconfined_domain(mono_t)
|
2007-10-02 16:04:50 +00:00
|
|
|
unconfined_dbus_chat(mono_t)
|
|
|
|
unconfined_dbus_connect(mono_t)
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|
2010-02-19 15:42:43 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
xserver_rw_shm(mono_t)
|
|
|
|
')
|