46 lines
750 B
Plaintext
46 lines
750 B
Plaintext
|
|
policy_module(mono,1.1.3)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type mono_t;
|
|
domain_type(mono_t)
|
|
|
|
type mono_exec_t;
|
|
domain_entry_file(mono_t,mono_exec_t)
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
ifdef(`targeted_policy',`
|
|
allow mono_t self:process { execheap execmem };
|
|
|
|
unconfined_domain_noaudit(mono_t)
|
|
unconfined_dbus_chat(mono_t)
|
|
|
|
userdom_generic_user_home_dir_filetrans_generic_user_home_content(mono_t,{ dir file lnk_file fifo_file sock_file })
|
|
|
|
init_dbus_chat_script(mono_t)
|
|
|
|
optional_policy(`
|
|
avahi_dbus_chat(mono_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
hal_dbus_chat(mono_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
networkmanager_dbus_chat(mono_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
unconfined_dbus_connect(mono_t)
|
|
')
|
|
')
|