1 |
commit: e1aa42451ef4fea2d62e2705e8f82fc082b21bc9 |
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:12:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e1aa4245 |
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 <me <AT> concord.sh> |
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) |