trunk: add w3c from dan.
This commit is contained in:
parent
93f445b8c0
commit
32f8ff393b
|
@ -9,6 +9,8 @@
|
|||
- Pam_mount fix for local login from Stefan Schulze Frielinghaus.
|
||||
- Issuing commands to upstart is over a datagram socket, not the initctl
|
||||
named pipe. Updated init_telinit() to match.
|
||||
- Added modules:
|
||||
w3c (Dan Walsh)
|
||||
|
||||
* Wed Jul 02 2008 Chris PeBenito <selinux@tresys.com> - 20080702
|
||||
- Fix httpd_enable_homedirs to actually provide the access it is supposed to
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
/usr/lib/cgi-bin/check gen_context(system_u:object_r:httpd_w3c_validator_script_exec_t,s0)
|
||||
|
||||
/usr/share/w3c-markup-validator(/.*)? gen_context(system_u:object_r:httpd_w3c_validator_content_t,s0)
|
||||
/usr/share/w3c-markup-validator/cgi-bin(/.*)? gen_context(system_u:object_r:httpd_w3c_validator_script_exec_t,s0)
|
|
@ -0,0 +1 @@
|
|||
## <summary>W3C Markup Validator</summary>
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
policy_module(w3c, 1.0.0)
|
||||
|
||||
########################################
|
||||
#
|
||||
# Declarations
|
||||
#
|
||||
|
||||
apache_content_template(w3c_validator)
|
||||
|
||||
########################################
|
||||
#
|
||||
# Local policy
|
||||
#
|
||||
|
||||
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)
|
Loading…
Reference in New Issue