Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3574006pxb; Mon, 16 Nov 2020 19:47:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyn4yy/M0XFYOVxpfpNWrsI5fsHrEa7SzRn+pJpaB3KDfUU3fvdVU/41rs7eYYiuTEt7HaT X-Received: by 2002:a05:6402:17ad:: with SMTP id j13mr18107629edy.347.1605584879713; Mon, 16 Nov 2020 19:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605584879; cv=none; d=google.com; s=arc-20160816; b=xVse3OqjC2C8ehxYl+pxmv+D4ObJyByQ/WU7pAt0XWdMSj+kOz6XpDZNTXExlNb5m1 PqJnW6NRT8CoR38ljx6DD4USHXhzPc4ejgxqFuVmtzPU+ZpUoW+lYJfEX/B9RFjsYu3b nP1D4LGH/cUmAz85aB4rWrr/59rpE3PTEUi5tzeSbFWPLp7pPx+aJRRKgpteX6SzSjJX hzH1fNXVPLHRj9ziOBfi/uEl6O2EMD2RbZnxR4aMkEiTyzf/izJXrwmFp3g8+zlyPKKp i92EJh/sf4X168bFcvyhfhaT1OO+UAE/rrFHm+LzscqKni8K5K3fTD47LLKHMeLMhLAb kWOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=X7oK/KkXvsIZ9SsAv5sAN2XylLMedG+C927JPHg50tA=; b=HvZRC5uCUz7+s4LlSKYtK7D91rK89waj4K8nGyo03PkWgGaOP+rrhnldLSFOVvCOvP lbE0r/1Fn36TiKbRLzNR/xjUBPstDpAdXFqUn/EwFfEqYm4ZgWkZ1/m4donXwG3BjmSh GG6CE0vlsF9p+qxOPqxtyUTZtNZmekt362msB2PB2xsZwZJLSmTHfhOKgKPKhjlLMB2o 7jOtYI7g2ci1BNdu1/C4COfR6rvr2nwislJTAyUh6qPurkMuWPlBDw9cruKYYKJGl97k U88tuj9ieE1UnLZnaYmXBmCR0F298qvVeBjGXrYQPJQ2v+85tduObDLveQSYqfIOCsOQ f/Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=k4o3sHNV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si13217528edq.587.2020.11.16.19.47.55; Mon, 16 Nov 2020 19:47:59 -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=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=k4o3sHNV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726773AbgKQDqr (ORCPT + 17 others); Mon, 16 Nov 2020 22:46:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgKQDqq (ORCPT ); Mon, 16 Nov 2020 22:46:46 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B550AC0613CF for ; Mon, 16 Nov 2020 19:46:46 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id 34so11856946pgp.10 for ; Mon, 16 Nov 2020 19:46:46 -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=X7oK/KkXvsIZ9SsAv5sAN2XylLMedG+C927JPHg50tA=; b=k4o3sHNVv4sS+Q9UVvC8kqo7pBqn0JH6NCPOH+rY6am2uVFw2FD/vXTz7YTZzqC/zR NWibqxWLvSiTWnfFvOH8YxFnsDJ3Ah5kwwnXsNyfV69BXg/9YykI/OglbPYk8DxwoHzT XNZ+0UtZi+PaajXWTMFHhRnCHcItsTDssyif9baQeYDNycv7avvlOUnvjFFH6hw402Am /wdO12V+XFSGrt/kq3X229YhQQ35G7/MMatrk8Ru47O35xtfKOada82ghVEdKP8k+wlm 1oK9sVtYH5q3ux6hvmVY9/jzlD8QE6zABiQlsS5WZv9/foL2bAp9HO9JxUFpPa1lPq9d HZwQ== 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=X7oK/KkXvsIZ9SsAv5sAN2XylLMedG+C927JPHg50tA=; b=JwtTaUn75QrkzpDylzCkFgKOmwydYkMbA2wCfcjYSplfdh7wPswx/yrcJvOq74Sr6+ j3m7nhOc3Z1XM+PLrXUMKaXjbgdvsrJ1bQg7gO3J8pL9gXOHzsbID7WBuLy1OiXgqpA+ Q/mwqpJahTmU/Y2dOcGhzaDOiN07QS+dAR+9ieU4iZjnlreVMMbTHjMZosMG2FWrOATU 75/kgPF+aliptmeXCTZyMRJ8GKKT/RYsVbSpOtGi+qqRZMHAptvrwFQm3NZ/sUidB6Bt IVP96jitwRUPqsypbttv5qDIuDnzsP9Za4iYDo8Z0z7GiAsy1T4fFQXCRlFjUgUr8ySo NgcA== X-Gm-Message-State: AOAM530lv/WJ0i7IuE2EewuDQ9rBWLJvzUSOfdGG3OWIynnHfUrLfA9Z GB//Am9AefohniN1ltdYpmOspcEK5yeRoBIW X-Received: by 2002:a17:90b:705:: with SMTP id s5mr2453096pjz.22.1605584806003; Mon, 16 Nov 2020 19:46:46 -0800 (PST) Received: from localhost (115.42.24.136.in-addr.arpa. [136.24.42.115]) by smtp.gmail.com with ESMTPSA id i6sm965998pjt.49.2020.11.16.19.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 19:46:45 -0800 (PST) From: Jason Zaman To: selinux-refpolicy@vger.kernel.org Cc: Jonathan Davies , Jason Zaman , Jason Zaman Subject: [PATCH 4/8] init: Added fcontext for openrc-init. Date: Mon, 16 Nov 2020 19:46:24 -0800 Message-Id: <20201117034628.2461-4-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 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',` -- 2.26.2