[selinux-policy: 1965/3172] trunk: apache script connections to postgres, from kaigai.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:54:46 UTC 2010


commit 5fe7de9ea9a64087ffdc9ebfadcd101a338f94a3
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed Jun 25 13:03:59 2008 +0000

    trunk: apache script connections to postgres, from kaigai.

 policy/modules/services/apache.te |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/policy/modules/services/apache.te b/policy/modules/services/apache.te
index 1513b13..7ab5e64 100644
--- a/policy/modules/services/apache.te
+++ b/policy/modules/services/apache.te
@@ -1,5 +1,5 @@
 
-policy_module(apache,1.9.2)
+policy_module(apache, 1.9.3)
 
 #
 # NOTES: 
@@ -562,6 +562,10 @@ optional_policy(`
 	nis_use_ypbind(httpd_php_t)
 ')
 
+optional_policy(`
+	postgresql_stream_connect(httpd_php_t)
+')
+
 ########################################
 #
 # Apache suexec local policy
@@ -703,6 +707,10 @@ optional_policy(`
 	mysql_rw_db_sockets(httpd_sys_script_t)
 ')
 
+optional_policy(`
+	postgresql_stream_connect(httpd_sys_script_t)
+')
+
 ########################################
 #
 # httpd_rotatelogs local policy


More information about the scm-commits mailing list