trunk: add w3c from dan.

This commit is contained in:
Chris PeBenito 2008-08-21 13:52:52 +00:00
parent 93f445b8c0
commit 32f8ff393b
4 changed files with 32 additions and 0 deletions

View File

@ -9,6 +9,8 @@
- Pam_mount fix for local login from Stefan Schulze Frielinghaus. - Pam_mount fix for local login from Stefan Schulze Frielinghaus.
- Issuing commands to upstart is over a datagram socket, not the initctl - Issuing commands to upstart is over a datagram socket, not the initctl
named pipe. Updated init_telinit() to match. named pipe. Updated init_telinit() to match.
- Added modules:
w3c (Dan Walsh)
* Wed Jul 02 2008 Chris PeBenito <selinux@tresys.com> - 20080702 * Wed Jul 02 2008 Chris PeBenito <selinux@tresys.com> - 20080702
- Fix httpd_enable_homedirs to actually provide the access it is supposed to - Fix httpd_enable_homedirs to actually provide the access it is supposed to

View File

@ -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)

View File

@ -0,0 +1 @@
## <summary>W3C Markup Validator</summary>

View File

@ -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)