43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
|
policy_module(w3c, 1.1.0)
|
||
|
|
||
|
########################################
|
||
|
#
|
||
|
# Declarations
|
||
|
#
|
||
|
|
||
|
apache_content_template(w3c_validator)
|
||
|
apache_content_alias_template(w3c_validator, w3c_validator)
|
||
|
|
||
|
type w3c_validator_tmp_t;
|
||
|
files_tmp_file(w3c_validator_tmp_t)
|
||
|
|
||
|
########################################
|
||
|
#
|
||
|
# Local policy
|
||
|
#
|
||
|
manage_dirs_pattern(w3c_validator_script_t, w3c_validator_tmp_t, w3c_validator_tmp_t)
|
||
|
manage_files_pattern(w3c_validator_script_t, w3c_validator_tmp_t, w3c_validator_tmp_t)
|
||
|
files_tmp_filetrans(w3c_validator_script_t, w3c_validator_tmp_t, { file dir })
|
||
|
|
||
|
|
||
|
corenet_all_recvfrom_unlabeled(w3c_validator_script_t)
|
||
|
corenet_all_recvfrom_netlabel(w3c_validator_script_t)
|
||
|
corenet_tcp_sendrecv_generic_if(w3c_validator_script_t)
|
||
|
corenet_tcp_sendrecv_generic_node(w3c_validator_script_t)
|
||
|
|
||
|
corenet_sendrecv_ftp_client_packets(w3c_validator_script_t)
|
||
|
corenet_tcp_connect_ftp_port(w3c_validator_script_t)
|
||
|
corenet_tcp_sendrecv_ftp_port(w3c_validator_script_t)
|
||
|
|
||
|
corenet_sendrecv_http_client_packets(w3c_validator_script_t)
|
||
|
corenet_tcp_connect_http_port(w3c_validator_script_t)
|
||
|
corenet_tcp_sendrecv_http_port(w3c_validator_script_t)
|
||
|
|
||
|
corenet_sendrecv_http_cache_client_packets(w3c_validator_script_t)
|
||
|
corenet_tcp_connect_http_cache_port(w3c_validator_script_t)
|
||
|
corenet_tcp_sendrecv_http_cache_port(w3c_validator_script_t)
|
||
|
|
||
|
miscfiles_read_generic_certs(w3c_validator_script_t)
|
||
|
|
||
|
sysnet_dns_name_resolve(w3c_validator_script_t)
|