From aae38f05a61624289fd792965b30d3ffebb4b612 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Aug 26 2010 17:16:02 +0000 Subject: whoya --- diff --git a/policy/modules/services/mojomojo.if b/policy/modules/services/mojomojo.if index 657a9fc..cf7968d 100644 --- a/policy/modules/services/mojomojo.if +++ b/policy/modules/services/mojomojo.if @@ -21,13 +21,16 @@ interface(`mojomojo_admin',` gen_require(` type httpd_mojomojo_script_t; type httpd_mojomojo_content_t, httpd_mojomojo_ra_content_t; - type httpd_mojomojo_rw_content_t; + type httpd_mojomojo_rw_content_t, httpd_mojomojo_tmp_t; type httpd_mojomojo_script_exec_t, httpd_mojomojo_htaccess_t; ') allow $1 httpd_mojomojo_script_t:process { ptrace signal_perms }; ps_process_pattern($1, httpd_mojomojo_script_t) + files_list_tmp($1) + admin_pattern($1, httpd_mojomojo_tmp_t) + files_search_var_lib(httpd_mojomojo_script_t) apache_search_sys_content($1)