Chris PeBenito 32f8ff
policy_module(w3c, 1.0.0)
Chris PeBenito 32f8ff
Chris PeBenito 32f8ff
########################################
Chris PeBenito 32f8ff
#
Chris PeBenito 32f8ff
# Declarations
Chris PeBenito 32f8ff
#
Chris PeBenito 32f8ff
Chris PeBenito 32f8ff
apache_content_template(w3c_validator)
Chris PeBenito 32f8ff
Dan Walsh 3eaa99
type httpd_w3c_validator_tmp_t;
Dan Walsh 3eaa99
files_tmp_file(httpd_w3c_validator_tmp_t)
Dan Walsh 3eaa99
Chris PeBenito 32f8ff
########################################
Chris PeBenito 32f8ff
#
Chris PeBenito 32f8ff
# Local policy
Chris PeBenito 32f8ff
#
Chris PeBenito 32f8ff
Dan Walsh 3eaa99
manage_dirs_pattern(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, httpd_w3c_validator_tmp_t)
Dan Walsh 3eaa99
manage_files_pattern(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, httpd_w3c_validator_tmp_t)
Dan Walsh 3eaa99
files_tmp_filetrans(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, { file dir })
Dan Walsh 3eaa99
Chris PeBenito 32f8ff
corenet_tcp_connect_ftp_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
corenet_tcp_sendrecv_ftp_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
corenet_tcp_connect_http_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
corenet_tcp_sendrecv_http_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
corenet_tcp_connect_http_cache_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
corenet_tcp_sendrecv_http_cache_port(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
Chris PeBenito 32f8ff
miscfiles_read_certs(httpd_w3c_validator_script_t)
Chris PeBenito 32f8ff
Chris PeBenito 32f8ff
sysnet_dns_name_resolve(httpd_w3c_validator_script_t)
Dan Walsh 3eaa99
Dan Walsh 3eaa99
apache_dontaudit_rw_tmp_files(httpd_w3c_validator_script_t)