From mboxrd@z Thu Jan 1 00:00:00 1970 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=-22.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 BF165C5519F for ; Sun, 22 Nov 2020 19:04:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62E7D2076B for ; Sun, 22 Nov 2020 19:04:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="GT8acL7f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727888AbgKVTD6 (ORCPT ); Sun, 22 Nov 2020 14:03:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727795AbgKVTD5 (ORCPT ); Sun, 22 Nov 2020 14:03:57 -0500 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9725CC0613CF for ; Sun, 22 Nov 2020 11:03:57 -0800 (PST) Received: by mail-qk1-x741.google.com with SMTP id y197so14525663qkb.7 for ; Sun, 22 Nov 2020 11:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nJPoix4VkKx/9VB1M6WEm1w1JrWvPdx/V8HWlZ0L8fI=; b=GT8acL7fZLsvL0rLEoG+sjaZv8VF9azy7Mv9sLE5ZkCsWDHQfxi49ZCRkvkx7YHwD/ LZoEue3hYz0o6pcuIuiijQvL4KnI0YR8gy034M/3XZ7wth15W8IDwIbQo+Pwzb7oSMqi jySEEm+GraNUG0ovFkMSq5LU55BwmpaqQjpdo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nJPoix4VkKx/9VB1M6WEm1w1JrWvPdx/V8HWlZ0L8fI=; b=E1cAEUtCt8JEF0GxHEsM4cAmlwCA7PV2ywVuXz+8Q/l7lafNo4LNXKgKnRzR1u1MHa C6FzJblHAaeTiiF3EOmgSl0FeEqR5hKwR56wgV99nFIv1H3SSsyHXiWG7D3P9PZ6ca97 xEpszf4SVXY5KqA31DDEnuR3S9EVsXAIhlFftZ3TgzpF4Xjsc6EoD41cCR3MWJj6Zrhr sEfYlsqzMxnRjhJZ27prnAztOgOhXv7btlssgauJKvYYQc2uxaDo2PcA30LVRLaA8dTj 81sfjQ5zLFLd7jAlduwq4i6JidgSxEZ1X5GEn1yppDDZK6uK7iPuVffjVFJV7iBW7cRB cVgQ== X-Gm-Message-State: AOAM533NskuByji5RMYhVUZCHMIcjV9uaS5wJZ32QWqFrTrSzDLR4byt 0PhlPj+17PgjtUS62Is8PCyAwg== X-Google-Smtp-Source: ABdhPJwDELdVjl2DUhRIptRThIuHEO5PM1ED9bsXAlkBewP65Ngx05lL5qoUtTlRPQI/NU5GSo0TfQ== X-Received: by 2002:a05:620a:64d:: with SMTP id a13mr27593851qka.482.1606071836103; Sun, 22 Nov 2020 11:03:56 -0800 (PST) Received: from fedora.pebenito.net (pool-96-234-173-17.bltmmd.fios.verizon.net. [96.234.173.17]) by smtp.gmail.com with ESMTPSA id k15sm7071095qke.75.2020.11.22.11.03.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 11:03:55 -0800 (PST) Subject: Re: [PATCH 3/8] portage: Added /var/cache/distfiles path. To: Jason Zaman , selinux-refpolicy@vger.kernel.org Cc: Jonathan Davies , Jason Zaman References: <20201117034628.2461-1-jason@perfinion.com> <20201117034628.2461-3-jason@perfinion.com> From: Chris PeBenito Message-ID: <63acb36e-9707-e9c9-f0c7-3817f20b7c3a@ieee.org> Date: Sun, 22 Nov 2020 14:03:53 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201117034628.2461-3-jason@perfinion.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 11/16/20 10:46 PM, Jason Zaman wrote: > From: Jonathan Davies > > Closes: https://github.com/perfinion/hardened-refpolicy/pull/1 > Signed-off-by: Jason Zaman > Signed-off-by: Jason Zaman > --- > policy/modules/admin/portage.fc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/policy/modules/admin/portage.fc b/policy/modules/admin/portage.fc > index 3b6b9bf89..0567dfdc5 100644 > --- a/policy/modules/admin/portage.fc > +++ b/policy/modules/admin/portage.fc > @@ -27,6 +27,7 @@ > /var/db/pkg(/.*)? gen_context(system_u:object_r:portage_db_t,s0) > /var/db/repos(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) > /var/cache/binpkgs(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) > +/var/cache/distfiles(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) > /var/cache/distfiles/cvs-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) > /var/cache/distfiles/egit-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) > /var/cache/distfiles/git[0-9]-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) Merged. -- Chris PeBenito