trunk: apache script connections to postgres, from kaigai.

This commit is contained in:
Chris PeBenito 2008-06-25 13:03:59 +00:00
parent f7eaeebbae
commit 5fe7de9ea9

View File

@ -1,5 +1,5 @@
policy_module(apache,1.9.2) policy_module(apache, 1.9.3)
# #
# NOTES: # NOTES:
@ -562,6 +562,10 @@ optional_policy(`
nis_use_ypbind(httpd_php_t) nis_use_ypbind(httpd_php_t)
') ')
optional_policy(`
postgresql_stream_connect(httpd_php_t)
')
######################################## ########################################
# #
# Apache suexec local policy # Apache suexec local policy
@ -703,6 +707,10 @@ optional_policy(`
mysql_rw_db_sockets(httpd_sys_script_t) mysql_rw_db_sockets(httpd_sys_script_t)
') ')
optional_policy(`
postgresql_stream_connect(httpd_sys_script_t)
')
######################################## ########################################
# #
# httpd_rotatelogs local policy # httpd_rotatelogs local policy