2010-04-06 13:22:42

by domg472

[permalink] [raw]
Subject: [refpolicy] [ apache patch 1/1] Fix requires for apache tmp interfaces.

Signed-off-by: Dominick Grift <[email protected]>
---
:100644 100644 fa24864... 57feb5a... M policy/modules/services/apache.if
policy/modules/services/apache.if | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

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;
--
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


2010-04-06 19:11:36

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [ apache patch 1/1] Fix requires for apache tmp interfaces.

On Tue, 2010-04-06 at 15:22 +0200, Dominick Grift wrote:
> Signed-off-by: Dominick Grift <[email protected]>

Merged.

> ---
> :100644 100644 fa24864... 57feb5a... M policy/modules/services/apache.if
> policy/modules/services/apache.if | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> 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;
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy

--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150