Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3A21C6787C for ; Sun, 14 Oct 2018 10:05:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0ABA7205C9 for ; Sun, 14 Oct 2018 10:05:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0ABA7205C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aixah.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726265AbeJNRpo (ORCPT ); Sun, 14 Oct 2018 13:45:44 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:38882 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeJNRpo (ORCPT ); Sun, 14 Oct 2018 13:45:44 -0400 Received: from hsi-kbw-085-216-001-223.hsi.kabelbw.de ([85.216.1.223] helo=vega.skynet.aixah.de); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1gBdGr-0008Vt-Ds; Sun, 14 Oct 2018 12:05:13 +0200 Received: by vega.skynet.aixah.de (Postfix, from userid 1000) id C44A2260287; Sun, 14 Oct 2018 12:05:12 +0200 (CEST) From: Luis Ressel To: selinux-refpolicy@vger.kernel.org Subject: [PATCH] miscfiles: Label /usr/share/texmf*/fonts/ as fonts_t Date: Sun, 14 Oct 2018 12:05:06 +0200 Message-Id: <20181014100506.13529-1-aranea@aixah.de> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1539511514;8bea64b4; X-HE-SMSGID: 1gBdGr-0008Vt-Ds Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org 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) -- 2.19.1