selinux-refpolicy/policy/modules/apps/calamaris.if
2006-12-12 20:08:08 +00:00

22 lines
494 B
Plaintext

## <summary>Squid log analysis</summary>
#######################################
## <summary>
## Allow domain to read calamaris www files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`calamaris_read_www_files',`
gen_require(`
type calamaris_www_t;
')
allow $1 calamaris_www_t:dir list_dir_perms;
read_files_pattern($1,calamaris_www_t,calamaris_www_t)
read_lnk_files_pattern($1,calamaris_www_t,calamaris_www_t)
')