2006-01-19 23:00:23 +00:00
|
|
|
## <summary>Run .NET server and client applications on Linux.</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Execute the mono program in the mono domain.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2006-01-19 23:00:23 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-19 23:00:23 +00:00
|
|
|
## </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)
|
2006-01-19 23:00:23 +00:00
|
|
|
')
|
2008-06-17 14:07:44 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <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)
|
|
|
|
')
|