Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/mon_statd.if

40 lines
811 B
Text
Raw Permalink Normal View History

## <summary>policy for mon_statd</summary>
########################################
## <summary>
## Execute mon_statd in the mon_statd domin.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`mon_statd_domtrans',`
gen_require(`
type mon_statd_t, mon_statd_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, mon_statd_exec_t, mon_statd_t)
')
########################################
## <summary>
## Execute mon_procd in the mon_procd domin.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`mon_procd_domtrans',`
gen_require(`
type mon_procd_t, mon_procd_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, mon_procd_exec_t, mon_procd_t)
')