Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:various-20211111 commit in: policy/modules/system/
Date: Mon, 06 Jun 2022 15:16:01
Message-Id: 1654528493.c5ccb8cad57d6e29624d559d9100915d38a019ae.concord@gentoo
1 commit: c5ccb8cad57d6e29624d559d9100915d38a019ae
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:14:53 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c5ccb8ca
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)