## ## Allow the specified domain to write ## and read apache log files. ## ## ## ## Domain allowed access. ## ## ## # 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) ')