Skip to contentSkip to conversation

Fix requires for apache tmp interfaces.

PATCH New Dominick Grift 2 participants 2 messages Apr 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix requires for apache tmp interfaces.

---
:100644 100644 fa24864... 57feb5a... M policy/modules/services/apache.if

 policy/modules/services/apache.if |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
policy/modules/services/apache.if +2 -2
index fa24864..57feb5a 100644
@@ -1079,7 +1079,7 @@ interface(`apache_search_sys_script_state',`
 #
 interface(`apache_read_tmp_files',`
 	gen_require(`
-		type httpd_config_t;
+		type httpd_tmp_t;
 	')
 
 	files_search_tmp($1)
@@ -1099,7 +1099,7 @@ interface(`apache_read_tmp_files',`
 #
 interface(`apache_dontaudit_write_tmp_files',`
 	gen_require(`
-		type httpd_config_t;
+		type httpd_tmp_t;
 	')
 
 	dontaudit $1 httpd_tmp_t:file write_file_perms;
Signature · 9 lines
1.7.0.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100406/5bfac8ef/attachment.bin 
#1 lore raw

PATCH 1/1 Fix requires for apache tmp interfaces.

Quoted 1 line · Dominick Grift

Merged.

Quoted 31 lines

---
:100644 100644 fa24864... 57feb5a... M policy/modules/services/apache.if

 policy/modules/services/apache.if |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
policy/modules/services/apache.if +2 -2
index fa24864..57feb5a 100644
@@ -1079,7 +1079,7 @@ interface(`apache_search_sys_script_state',`
 #
 interface(`apache_read_tmp_files',`
 	gen_require(`
-		type httpd_config_t;
+		type httpd_tmp_t;
 	')
 
 	files_search_tmp($1)
@@ -1099,7 +1099,7 @@ interface(`apache_read_tmp_files',`
 #
 interface(`apache_dontaudit_write_tmp_files',`
 	gen_require(`
-		type httpd_config_t;
+		type httpd_tmp_t;
 	')
 
 	dontaudit $1 httpd_tmp_t:file write_file_perms;

_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150