selinux-policy/policy/modules/apps/mono.if
2008-06-17 14:07:44 +00:00

40 lines
764 B
Plaintext

## <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)
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)
')