selinux-refpolicy/policy/modules/apps/mono.te

53 lines
858 B
Plaintext
Raw Normal View History

2010-12-13 14:12:22 +00:00
policy_module(mono, 1.8.0)
########################################
#
# Declarations
#
type mono_t;
type mono_exec_t;
2010-02-19 15:42:43 +00:00
application_type(mono_t)
init_system_domain(mono_t, mono_exec_t)
########################################
#
# Local policy
#
2010-02-19 15:42:43 +00:00
allow mono_t self:process { ptrace signal getsched execheap execmem execstack };
init_dbus_chat_script(mono_t)
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
optional_policy(`
avahi_dbus_chat(mono_t)
')
optional_policy(`
cups_dbus_chat(mono_t)
')
optional_policy(`
hal_dbus_chat(mono_t)
')
optional_policy(`
networkmanager_dbus_chat(mono_t)
')
optional_policy(`
rpm_dbus_chat(mono_t)
')
optional_policy(`
2010-02-19 15:42:43 +00:00
unconfined_domain(mono_t)
unconfined_dbus_chat(mono_t)
unconfined_dbus_connect(mono_t)
')
2010-02-19 15:42:43 +00:00
optional_policy(`
xserver_rw_shm(mono_t)
')