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=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_PASS 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 44110C7112A for ; Sun, 14 Oct 2018 17:55:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF8E520835 for ; Sun, 14 Oct 2018 17:55:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="TCETqqIc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF8E520835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ieee.org 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 S1726525AbeJOBhj (ORCPT ); Sun, 14 Oct 2018 21:37:39 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:35079 "EHLO mail-qk1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbeJOBhi (ORCPT ); Sun, 14 Oct 2018 21:37:38 -0400 Received: by mail-qk1-f172.google.com with SMTP id v68-v6so10567994qka.2 for ; Sun, 14 Oct 2018 10:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=iVmU61G4yi+Bo52hzluKFj9CWbKeEabOU+LpZnQv12Y=; b=TCETqqIcAdtJ+8Dc1ZuEDkaiXYZLLXT1K0b6wALXz5wdRyQznnjtGoxWfPmc/Im+U2 7vYotqrRcK8JN2cgkXAFiafCyml/rwTfD4/Q2+9P5rkePqZtTdO5V9lsYuaQoEcbKxqN ykzXaOeX1olRAs/GMY4dchmbWs3q6E4NREFQ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iVmU61G4yi+Bo52hzluKFj9CWbKeEabOU+LpZnQv12Y=; b=M93pn2fhQMKgLuLAcwlo8LTtweDfP6eCNd/F8N4SVOOKw9CPAQ7wXnk+15an/4EwuD B29hlqNGY2RNpS7iGdOIpOavpDixZzXA2Wnp5hmYR1mtAFuMw655OFBURyYMzRUBerQC yNDZZI5vRhNlCCoZb8WvTwk+1jMBtyiw0ztuKpZrt6aOezd0mM1kraeg3yqV/SzJCIuY 7ARkIeG5hQHXEiuNZgJ3LbhfrDef8uMFcqY2PPsH9PZRHn7AXE228tWHOA8TjlrrzxRX dyIZJjWpp2qRVO1cZT11FVEiTN9mjGNN9wa247TFQOe/JhCIZB229IrqOl4Xw5XmLbuA zcHw== X-Gm-Message-State: ABuFfojZHMA8NTDHS0PY1u1VziYQH0IIK7CM/iO+VL77d5zxEEG6WlqA c34pelXgMBBWvLyqwotmR6pFP0kXPgtDDA== X-Google-Smtp-Source: ACcGV62F/EDEl7Fx0/E9TayfQWXXQUag2SSkeVw/L3davovvfMZVfSfG885YBC/2tyZ0EUxoBoEXMw== X-Received: by 2002:ae9:c107:: with SMTP id z7-v6mr13651692qki.192.1539539750406; Sun, 14 Oct 2018 10:55:50 -0700 (PDT) Received: from [192.168.1.190] (pool-68-134-29-209.bltmmd.fios.verizon.net. [68.134.29.209]) by smtp.gmail.com with ESMTPSA id y26-v6sm4790160qty.52.2018.10.14.10.55.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Oct 2018 10:55:49 -0700 (PDT) Subject: Re: [PATCH] miscfiles: Label /usr/share/texmf*/fonts/ as fonts_t To: Luis Ressel , selinux-refpolicy@vger.kernel.org References: <20181014100506.13529-1-aranea@aixah.de> From: Chris PeBenito Message-ID: Date: Sun, 14 Oct 2018 13:55:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181014100506.13529-1-aranea@aixah.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org 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