From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 568901382C5 for ; Sun, 29 Nov 2020 00:05:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DCC3E0833; Sun, 29 Nov 2020 00:05:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 343B6E0833 for ; Sun, 29 Nov 2020 00:05:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8141340C36 for ; Sun, 29 Nov 2020 00:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 355BA46A for ; Sun, 29 Nov 2020 00:05:49 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1606606204.4a0d8b5637db7d64811d9cfe1d6746d2baf63150.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/init.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4a0d8b5637db7d64811d9cfe1d6746d2baf63150 X-VCS-Branch: master Date: Sun, 29 Nov 2020 00:05:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2bf945b0-69e6-4598-999c-c0b5421385e0 X-Archives-Hash: d828b8fb2b47e556327ceb33e4943f97 commit: 4a0d8b5637db7d64811d9cfe1d6746d2baf63150 Author: Jason Zaman gentoo org> AuthorDate: Sat Nov 28 23:30:04 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Nov 28 23:30:04 2020 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4a0d8b56 init: remove gentoo-specific rules that have been upstreamed Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/init.fc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc index c8451701..567bc960 100644 --- a/policy/modules/system/init.fc +++ b/policy/modules/system/init.fc @@ -95,23 +95,3 @@ ifdef(`distro_suse', ` /run/setleds-on -- gen_context(system_u:object_r:initrc_runtime_t,s0) /run/sysconfig(/.*)? gen_context(system_u:object_r:initrc_runtime_t,s0) ') - -ifdef(`distro_gentoo',` -# -# /lib -# -/usr/lib/rc/console(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) -/usr/lib/rc/cache(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) - -# -# /sbin -# -/usr/sbin/openrc -- gen_context(system_u:object_r:rc_exec_t,s0) - -# -# /var -# -/var/lib/ip6?tables(/.*)? gen_context(system_u:object_r:initrc_tmp_t,s0) - -/run/openrc(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) -')