2016-12-09 23:54:49

by Mira Ressel

[permalink] [raw]
Subject: [refpolicy] [PATCH] mozilla: Add miscfiles_dontaudit_setattr_fonts_cache_dirs()

mozilla_plugin_t already has this. For some insane reason, current
firefox versions try to 'chmod 0755 /var/cache/fontconfig'.
---
mozilla.te | 1 +
1 file changed, 1 insertion(+)

diff --git a/mozilla.te b/mozilla.te
index 8929e26..c481981 100644
--- a/mozilla.te
+++ b/mozilla.te
@@ -183,6 +183,7 @@ logging_send_syslog_msg(mozilla_t)
miscfiles_read_fonts(mozilla_t)
miscfiles_read_localization(mozilla_t)
miscfiles_dontaudit_setattr_fonts_dirs(mozilla_t)
+miscfiles_dontaudit_setattr_fonts_cache_dirs(mozilla_t)

userdom_use_user_ptys(mozilla_t)

--
2.11.0


2016-12-11 19:54:48

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] mozilla: Add miscfiles_dontaudit_setattr_fonts_cache_dirs()

On 12/09/16 18:54, Luis Ressel via refpolicy wrote:
> mozilla_plugin_t already has this. For some insane reason, current
> firefox versions try to 'chmod 0755 /var/cache/fontconfig'.
> ---
> mozilla.te | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mozilla.te b/mozilla.te
> index 8929e26..c481981 100644
> --- a/mozilla.te
> +++ b/mozilla.te
> @@ -183,6 +183,7 @@ logging_send_syslog_msg(mozilla_t)
> miscfiles_read_fonts(mozilla_t)
> miscfiles_read_localization(mozilla_t)
> miscfiles_dontaudit_setattr_fonts_dirs(mozilla_t)
> +miscfiles_dontaudit_setattr_fonts_cache_dirs(mozilla_t)
>
> userdom_use_user_ptys(mozilla_t)

Merged.

--
Chris PeBenito