From 6d9925c87283c4212cf1c88711d49cc4a95436d9 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Apr 06 2010 19:05:12 +0000 Subject: Fix requires for apache tmp interfaces. Signed-off-by: Dominick Grift --- diff --git a/policy/modules/services/apache.if b/policy/modules/services/apache.if index fa24864..57feb5a 100644 --- a/policy/modules/services/apache.if +++ b/policy/modules/services/apache.if @@ -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;