Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/
Date: Sat, 03 Sep 2022 20:04:53
Message-Id: 1662235459.6f537bac5606bd0ad279ab8016c2c8c51476956d.concord@gentoo
1 commit: 6f537bac5606bd0ad279ab8016c2c8c51476956d
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: Sat Sep 3 20:04:19 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=6f537bac
7
8 iptables: add file context for /usr/libexec/nftables/nftables.sh
9
10 Bug: https://bugs.gentoo.org/840230
11 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
12
13 policy/modules/system/iptables.fc | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/policy/modules/system/iptables.fc b/policy/modules/system/iptables.fc
17 index 6157f313..ab1300db 100644
18 --- a/policy/modules/system/iptables.fc
19 +++ b/policy/modules/system/iptables.fc
20 @@ -24,6 +24,8 @@
21 /usr/bin/xtables-multi -- gen_context(system_u:object_r:iptables_exec_t,s0)
22 /usr/bin/xtables-nft-multi -- gen_context(system_u:object_r:iptables_exec_t,s0)
23
24 +/usr/libexec/nftables/nftables\.sh -- gen_context(system_u:object_r:iptables_exec_t,s0)
25 +
26 /usr/lib/systemd/system/[^/]*arptables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)
27 /usr/lib/systemd/system/[^/]*ebtables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)
28 /usr/lib/systemd/system/[^/]*ip6tables.* -- gen_context(system_u:object_r:iptables_unit_t,s0)