Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:concord-dev commit in: policy/modules/system/
Date: Mon, 06 Jun 2022 15:09:02
Message-Id: 1654528058.3d7762712115cbfe3751c4e7d989d7913f42b784.concord@gentoo
1 commit: 3d7762712115cbfe3751c4e7d989d7913f42b784
2 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 22:51:28 2022 +0000
4 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 6 15:07:38 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3d776271
7
8 iptables: add file context for /usr/libexec/nftables/nftables.sh
9
10 Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
11
12 policy/modules/system/iptables.fc | 2 ++
13 1 file changed, 2 insertions(+)
14
15 diff --git a/policy/modules/system/iptables.fc b/policy/modules/system/iptables.fc
16 index 6157f313..ab1300db 100644
17 --- a/policy/modules/system/iptables.fc
18 +++ b/policy/modules/system/iptables.fc
19 @@ -24,6 +24,8 @@
20 /usr/bin/xtables-multi -- gen_context(system_u:object_r:iptables_exec_t,s0)
21 /usr/bin/xtables-nft-multi -- gen_context(system_u:object_r:iptables_exec_t,s0)
22
23 +/usr/libexec/nftables/nftables\.sh -- gen_context(system_u:object_r:iptables_exec_t,s0)
24 +
25 /usr/lib/systemd/system/[^/]*arptables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)
26 /usr/lib/systemd/system/[^/]*ebtables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)
27 /usr/lib/systemd/system/[^/]*ip6tables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)