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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E65F158091 for ; Mon, 6 Jun 2022 15:13:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1AA1E0874; Mon, 6 Jun 2022 15:13:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85B9EE0874 for ; Mon, 6 Jun 2022 15:13:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C3E0341A43 for ; Mon, 6 Jun 2022 15:13:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 385284F5 for ; Mon, 6 Jun 2022 15:13:47 +0000 (UTC) From: "Kenton Groombridge" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kenton Groombridge" Message-ID: <1654528374.e1aa42451ef4fea2d62e2705e8f82fc082b21bc9.concord@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:concord-dev commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/iptables.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: concord X-VCS-Committer-Name: Kenton Groombridge X-VCS-Revision: e1aa42451ef4fea2d62e2705e8f82fc082b21bc9 X-VCS-Branch: concord-dev Date: Mon, 6 Jun 2022 15:13:47 +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: 5fe67790-1ed5-412d-97de-c8c32e22a907 X-Archives-Hash: 9571e849b59ce4f87345982f116e8a6f Message-ID: <20220606151347.VR0Z-ka2M2U53fLCG-nFTYSziizffMR_eIFyMK4SZ3k@z> commit: e1aa42451ef4fea2d62e2705e8f82fc082b21bc9 Author: Kenton Groombridge gentoo org> AuthorDate: Mon May 30 22:51:28 2022 +0000 Commit: Kenton Groombridge gentoo org> CommitDate: Mon Jun 6 15:12:54 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e1aa4245 iptables: add file context for /usr/libexec/nftables/nftables.sh Bug: https://bugs.gentoo.org/840230 Signed-off-by: Kenton Groombridge concord.sh> policy/modules/system/iptables.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/iptables.fc b/policy/modules/system/iptables.fc index 6157f313..ab1300db 100644 --- a/policy/modules/system/iptables.fc +++ b/policy/modules/system/iptables.fc @@ -24,6 +24,8 @@ /usr/bin/xtables-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/bin/xtables-nft-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) +/usr/libexec/nftables/nftables\.sh -- gen_context(system_u:object_r:iptables_exec_t,s0) + /usr/lib/systemd/system/[^/]*arptables.* -- gen_context(system_u:object_r:iptables_unit_t,s0) /usr/lib/systemd/system/[^/]*ebtables.* -- gen_context(system_u:object_r:iptables_unit_t,s0) /usr/lib/systemd/system/[^/]*ip6tables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)