selinux-policy/policy/modules/services/w3c.te

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2008-08-21 13:52:52 +00:00
policy_module(w3c, 1.0.0)
########################################
#
# Declarations
#
apache_content_template(w3c_validator)
2010-08-26 13:41:21 +00:00
type httpd_w3c_validator_tmp_t;
files_tmp_file(httpd_w3c_validator_tmp_t)
2008-08-21 13:52:52 +00:00
########################################
#
# Local policy
#
2010-08-26 13:41:21 +00:00
manage_dirs_pattern(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, httpd_w3c_validator_tmp_t)
manage_files_pattern(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, httpd_w3c_validator_tmp_t)
files_tmp_filetrans(httpd_w3c_validator_script_t, httpd_w3c_validator_tmp_t, { file dir })
2008-08-21 13:52:52 +00:00
corenet_tcp_connect_ftp_port(httpd_w3c_validator_script_t)
corenet_tcp_sendrecv_ftp_port(httpd_w3c_validator_script_t)
corenet_tcp_connect_http_port(httpd_w3c_validator_script_t)
corenet_tcp_sendrecv_http_port(httpd_w3c_validator_script_t)
corenet_tcp_connect_http_cache_port(httpd_w3c_validator_script_t)
corenet_tcp_sendrecv_http_cache_port(httpd_w3c_validator_script_t)
miscfiles_read_certs(httpd_w3c_validator_script_t)
sysnet_dns_name_resolve(httpd_w3c_validator_script_t)
2010-08-26 13:41:21 +00:00
apache_dontaudit_rw_tmp_files(httpd_w3c_validator_script_t)