selinux-policy/policy/modules/apps/mono.if

40 lines
764 B
Plaintext
Raw Normal View History

## <summary>Run .NET server and client applications on Linux.</summary>
########################################
## <summary>
## Execute the mono program in the mono domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`mono_domtrans',`
gen_require(`
type mono_t, mono_exec_t;
')
corecmd_search_bin($1)
2006-12-12 20:08:08 +00:00
domtrans_pattern($1, mono_exec_t, mono_t)
')
########################################
## <summary>
## Execute the mono program in the caller domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`mono_exec',`
gen_require(`
type mono_t, mono_exec_t;
')
corecmd_search_bin($1)
can_exec($1, mono_exec_t)
')