Something
public text v1 · immutable## <summary>
## Allow the specified domain to write
## and read apache log files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`jboss_read_write_log',`
gen_require(`
type jboss_log_t;
')
logging_search_logs($1)
allow $1 jboss_log_t:dir list_dir_perms;
allow $1 jboss_log_t:file read_file_perms;
write_files_pattern($1,jboss_log_t,jboss_log_t)
')