[selinux-policy: 1441/3172] add apache_manage_all_content, bug 1602

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:09:55 UTC 2010


commit 013d746abc2e7ec536b2c04806c16633121335de
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed May 10 20:24:40 2006 +0000

    add apache_manage_all_content, bug 1602

 refpolicy/policy/modules/services/apache.if |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/policy/modules/services/apache.if b/refpolicy/policy/modules/services/apache.if
index 4d17f49..a11c412 100644
--- a/refpolicy/policy/modules/services/apache.if
+++ b/refpolicy/policy/modules/services/apache.if
@@ -472,6 +472,26 @@ interface(`apache_dontaudit_rw_tcp_sockets',`
 
 ########################################
 ## <summary>
+##	Create, read, write, and delete all web content.
+## </summary>
+## <param name="domain">
+##	<summary>
+##	Domain allowed access.
+##	</summary>
+## </param>
+#
+interface(`apache_manage_all_content',`
+	gen_require(`
+		attribute httpdcontent;
+	')
+
+	allow $1 httpdcontent:dir manage_dir_perms;
+	allow $1 httpdcontent:file manage_file_perms;
+	allow $1 httpdcontent:lnk_file create_lnk_perms;
+')
+
+########################################
+## <summary>
 ##	Allow the specified domain to read
 ##	and write Apache cache files.
 ## </summary>


More information about the scm-commits mailing list