selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: Luis Ressel <aranea@aixah.de>, selinux-refpolicy@vger.kernel.org
Subject: Re: [PATCH] miscfiles: Label /usr/share/texmf*/fonts/ as fonts_t
Date: Sun, 14 Oct 2018 13:55:48 -0400	[thread overview]
Message-ID: <b6063619-9537-3030-1cbf-db0a4cf05b53@ieee.org> (raw)
In-Reply-To: <20181014100506.13529-1-aranea@aixah.de>

On 10/14/2018 06:05 AM, Luis Ressel wrote:
> fontconfig can be configure to use the TeX Live fonts in addition to
> /usr/share/fonts/.
> ---
>   policy/modules/system/miscfiles.fc | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
> index 5333e831..069ce52f 100644
> --- a/policy/modules/system/miscfiles.fc
> +++ b/policy/modules/system/miscfiles.fc
> @@ -48,9 +48,12 @@ ifdef(`distro_redhat',`
>   /usr/local/share/fonts(/.*)?	gen_context(system_u:object_r:fonts_t,s0)
>   
>   /usr/share/docbook2X/xslt/man(/.*)?	gen_context(system_u:object_r:usr_t,s0)
> +
>   /usr/share/fonts(/.*)?		gen_context(system_u:object_r:fonts_t,s0)
> -/usr/share/X11/fonts(/.*)?	gen_context(system_u:object_r:fonts_t,s0)
>   /usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
> +/usr/share/texmf[^/]*/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
> +/usr/share/X11/fonts(/.*)?	gen_context(system_u:object_r:fonts_t,s0)
> +
>   /usr/share/locale(/.*)?		gen_context(system_u:object_r:locale_t,s0)
>   /usr/share/X11/locale(/.*)?	gen_context(system_u:object_r:locale_t,s0)
>   /usr/share/zoneinfo(/.*)?	gen_context(system_u:object_r:locale_t,s0)

Merged.

-- 
Chris PeBenito

      reply	other threads:[~2018-10-14 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14 10:05 [PATCH] miscfiles: Label /usr/share/texmf*/fonts/ as fonts_t Luis Ressel
2018-10-14 17:55 ` Chris PeBenito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6063619-9537-3030-1cbf-db0a4cf05b53@ieee.org \
    --to=pebenito@ieee.org \
    --cc=aranea@aixah.de \
    --cc=selinux-refpolicy@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).