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

49 lines
1 KiB
Text

## <summary>Log file analyzer for advanced statistics.</summary>
########################################
## <summary>
## Execute the awstats program in
## the awstats domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`awstats_domtrans',`
gen_require(`
type awstats_t, awstats_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, awstats_exec_t, awstats_t)
')
########################################
## <summary>
## Read and write awstats unnamed pipes. (Deprecated)
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`awstats_rw_pipes',`
refpolicywarn(`$0($*) has been deprecated.')
')
########################################
## <summary>
## Execute awstats cgi scripts in the caller domain. (Deprecated)
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`awstats_cgi_exec',`
refpolicywarn(`$0($*) has been deprecated.')
')