Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp370928pxu; Sun, 22 Nov 2020 11:05:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzdgier2eCnghJH5I9Z9LT2jfpigWwC5abWlpttTRmxp58ONiWNcF5xynj0RVSz+ygNnL7 X-Received: by 2002:a50:e68a:: with SMTP id z10mr14140508edm.66.1606071946950; Sun, 22 Nov 2020 11:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606071946; cv=none; d=google.com; s=arc-20160816; b=CR6urGjktAuOJ23U4JDJ5JoYKiFH2rFGlTU+mX3RWuoVgUmFqN9Ux5nStQDZm8sFsh pjRe+ADU0g8/uXcm5sZTTP2qg/1o20/By6juaPX5qCNAD6DXC7ln8aIGY/BJtv9hXOax JYAOsPUsv5hxyuDSWdGNE/PnWQWYmvn7ltFGqP71N5VVPF1L6NY/grZDKO7G+ei6zlG5 6Pvc5W6JyFWzki7ym1e025eFOIyPhZvoPGt4EhayZIs5GDjWVEYBT7Fykla9Y0QnGckb N3OGWYeQ5VMIOstJq4EHc/d2Lu7zayXdRm6ZueV383uqUwC5LHj7prLzl4Zy7RRgmIDv ILNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=KaHJtgmHKLIwLqwu5K9njq0RDry6nm4H/MUj/d/+WTU=; b=hDhYuTVpIBbetKGen2e0RKIMY9YXsTGL7tk2SkwQGipU3HoguUGA/iBiXQ+RANb3Nz kpjPhiOSeGxi2CKkp5suOo4v+wIls5BqN7shhG877R21pa8CoJZSecSHjzxtoZAjumH1 V9N5lyBu22Py7YCAsSfczASKMIQGVG7JIM8P6aLpDIswo2FJbOP0OPt1bT2iVrunt2aY GvHSQq7zJFw+lKEZ/qbHqo6215IV1VK9kNtaXo2abaTJnM8FAlux4Z2QWlNV/sz3SRhI mH0K9x3JMk4uW7new0X1hd/W5CzBVQaXL2kdc8OwOqkrrZDpZy8xTEl/DGPp7gw0ORxB pAlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=UAumZcsF; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl7si5161722ejb.3.2020.11.22.11.05.42; Sun, 22 Nov 2020 11:05:46 -0800 (PST) Received-SPF: pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=UAumZcsF; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728132AbgKVTEu (ORCPT + 16 others); Sun, 22 Nov 2020 14:04:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727795AbgKVTEu (ORCPT ); Sun, 22 Nov 2020 14:04:50 -0500 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28BFEC0613CF for ; Sun, 22 Nov 2020 11:04:50 -0800 (PST) Received: by mail-qt1-x841.google.com with SMTP id f93so11427676qtb.10 for ; Sun, 22 Nov 2020 11:04:50 -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=KaHJtgmHKLIwLqwu5K9njq0RDry6nm4H/MUj/d/+WTU=; b=UAumZcsFAUQme4BLEBrmYp4GZy++HgDgGzhE5AoPHjcPhfavr64Tx2ZfOcjmXwpEGs 5ndhWueG+VVIfutO5Q02MX9PJ8y9oIUS4yG3LzoJK5Ql6BPp8PxAi4WLV5UOF6xlKvU6 Er4Fh6u+6ij57wh2ZCR1A/dOsUd6qANvVGxVI= 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=KaHJtgmHKLIwLqwu5K9njq0RDry6nm4H/MUj/d/+WTU=; b=msxx/kG4lffZGbKX5W1ZifBJbCfz2miaiprO1XTVDa0t79Af/y+K5QzFSXTxQR4Eos RTp8L7gakkl/rw+S8w+i2LvwcfCD9lF7cR11TCxsiprAyxo71UDOZfubk3GF9jCXP+ld H7rTAZXDo+zjFej3I9ZtHXtLVgS4HtTx38onCn52sv1Kt6DRldQWZfJJa7OpOLB5VcLk PXF0vfVVOVWHsjl6gh2QdV9XBNzYKHoMH7QAGUTprnQXkQsAE2s8Hjc8udsmmfh5FyNv uGAcHB3rowq66RqPpwo/kQUy5L+ecz9ZLw6WyMar3cIIDW0B5MoyB4mPpRS8CofQ8UEC jTQw== X-Gm-Message-State: AOAM531R15IKdukm5KCHYrUDQvR4hZkYl3oVsBDbQTzeDhHLQQlnvv6Y JxbYwq6rxYHPGMqHXFlul3YXQw== X-Received: by 2002:ac8:6b92:: with SMTP id z18mr25091955qts.30.1606071889476; Sun, 22 Nov 2020 11:04:49 -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 p8sm7666891qtc.37.2020.11.22.11.04.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 11:04:49 -0800 (PST) Subject: Re: [PATCH 4/8] init: Added fcontext for openrc-init. To: Jason Zaman , selinux-refpolicy@vger.kernel.org Cc: Jonathan Davies , Jason Zaman References: <20201117034628.2461-1-jason@perfinion.com> <20201117034628.2461-4-jason@perfinion.com> From: Chris PeBenito Message-ID: <4637022a-3b74-3615-3343-1fa8780af21f@ieee.org> Date: Sun, 22 Nov 2020 14:04:09 -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-4-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 > > Signed-off-by: Jonathan Davies > Signed-off-by: Jason Zaman > Signed-off-by: Jason Zaman > --- > policy/modules/system/init.fc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc > index fee6ff3b6..df0d5a920 100644 > --- a/policy/modules/system/init.fc > +++ b/policy/modules/system/init.fc > @@ -46,6 +46,7 @@ ifdef(`distro_gentoo',` > ifdef(`distro_gentoo', ` > /usr/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) > /usr/sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0) > +/usr/sbin/openrc-init -- gen_context(system_u:object_r:init_exec_t,s0) > ') > > ifdef(`distro_redhat',` Merged. -- Chris PeBenito