[selinux-policy: 1706/3172] fix http_script_domains, it was incorrectly applied to the content type rather than the script domai

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:32:27 UTC 2010


commit 39d8dcdb4ffc7a333b866392c8d8801089530350
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Mon Apr 2 13:20:55 2007 +0000

    fix http_script_domains, it was incorrectly applied to the content type rather than the script domain.  bug #24.

 policy/modules/services/apache.if |    2 +-
 policy/modules/services/apache.te |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/policy/modules/services/apache.if b/policy/modules/services/apache.if
index f20bbc8..1dfbf35 100644
--- a/policy/modules/services/apache.if
+++ b/policy/modules/services/apache.if
@@ -269,7 +269,7 @@ template(`apache_per_role_template', `
 
 	apache_content_template($1)
 
-	typeattribute httpd_$1_content_t httpd_script_domains;
+	typeattribute httpd_$1_script_t httpd_script_domains;
 	userdom_user_home_content($1,httpd_$1_content_t)
 
 	role $3 types httpd_$1_script_t;
diff --git a/policy/modules/services/apache.te b/policy/modules/services/apache.te
index 8c4c998..2b68560 100644
--- a/policy/modules/services/apache.te
+++ b/policy/modules/services/apache.te
@@ -1,5 +1,5 @@
 
-policy_module(apache,1.5.5)
+policy_module(apache,1.5.6)
 
 #
 # NOTES: 


More information about the scm-commits mailing list