Oreon-Lime-R2/selinux-policy/selinux-policy-bc228bd/selinux-policy-bc228bd0c249a9e4aa3dcf238c2b1bb138943b07/policy/modules/contrib/awstats.if

50 lines
1 KiB
Text
Raw Normal View History

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