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=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 96B6AC6379D for ; Tue, 17 Nov 2020 03:47:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55C0F2465B for ; Tue, 17 Nov 2020 03:47:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=perfinion-com.20150623.gappssmtp.com header.i=@perfinion-com.20150623.gappssmtp.com header.b="QmKee8Z1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbgKQDqu (ORCPT ); Mon, 16 Nov 2020 22:46:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbgKQDqu (ORCPT ); Mon, 16 Nov 2020 22:46:50 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3171DC0613CF for ; Mon, 16 Nov 2020 19:46:49 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id y7so16177835pfq.11 for ; Mon, 16 Nov 2020 19:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perfinion-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U/o2LovqSKyLP4YX0XrvUIJ6tiZROYQjaDIC9j8Ez3w=; b=QmKee8Z1iy2jPrais3/7W1xHs+3IdbYUKapAZGPXnaTGS/SfjrnMH/RkxdowZ9qJWX pw9JRY4rjn4Y2zQyHY5wGDihDN7k8J2ql1HXJ4JPTNg4YBcmgG7c3JWg9gkjAF2T+WEi ytaSywUOLo5opgXdF4Wbtc+uRLf2JQNo4/1y3V3de2PCudgyW/DMBzfxEXb4XX+IkMjR 1K/7EchYFq5rh8HCJv3bMvh3af+IxH/tl2h5rme2Myi40ZQmlucyMkV0OOzypC0URzup 4tneuDU+ofhrw0N+E9B6hSFMu+wmdEBYwAE0pIkXEEIxAPqA4mRCZ1ViuwTMSgX7PYSS JtIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U/o2LovqSKyLP4YX0XrvUIJ6tiZROYQjaDIC9j8Ez3w=; b=i92/JsGTRLh8f4b+CjbKN6aZcgzl9dgtPpGcirvDu7E2DqK3gBnkNu5br/F+a10KVc a+nW3qwo2e69KSQ5Ce9+VfpP3kd2MyqtZCHinfeph5Xe8KTkQMtsYo8Ky7njzWONtjzU BYVs4GYpYiZfRKZ5bhgCH6EB2/2N52yTXU6DEBswqXsmYjT/ukt5QHAJid8K9x1ek4gD z+xBygAgquTXa415MFtzNJ9FSiEmmkWrW//+07+2ZbOvHrIQ8FUhV5gd65RE7d65jiFR LXInX5QnPST0HRHN0MlZcXGTNIAvhF7Pdq6jeQgg7fiVaG+mR1deHA6LJdqbyZoKjLgH 0iNw== X-Gm-Message-State: AOAM531SQlpTxDflsmOqytWqAxawlvitJDZlirlaMFMTdvXILL7hy8sd EYb6Ote0P1QF2NM0cQqcipr1n98MOnB7fsTp X-Google-Smtp-Source: ABdhPJxusgYT2v0HXthskq4M4ZS0FQD9Gx3MMkBIrPnG9lDpW7oLLcqW4Pbd/2x2JwSzIFQXxQV/JA== X-Received: by 2002:a17:90a:7e94:: with SMTP id j20mr2341735pjl.187.1605584808466; Mon, 16 Nov 2020 19:46:48 -0800 (PST) Received: from localhost (115.42.24.136.in-addr.arpa. [136.24.42.115]) by smtp.gmail.com with ESMTPSA id l20sm19858378pfd.103.2020.11.16.19.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 19:46:47 -0800 (PST) From: Jason Zaman To: selinux-refpolicy@vger.kernel.org Cc: Jonathan Davies , Jason Zaman , Jason Zaman Subject: [PATCH 5/8] init: Added fcontext for openrc-shutdown. Date: Mon, 16 Nov 2020 19:46:25 -0800 Message-Id: <20201117034628.2461-5-jason@perfinion.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201117034628.2461-1-jason@perfinion.com> References: <20201117034628.2461-1-jason@perfinion.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org 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 df0d5a920..f1e6a61d0 100644 --- a/policy/modules/system/init.fc +++ b/policy/modules/system/init.fc @@ -47,6 +47,7 @@ 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) +/usr/sbin/openrc-shutdown -- gen_context(system_u:object_r:init_exec_t,s0) ') ifdef(`distro_redhat',` -- 2.26.2