From: jason@perfinion.com (Jason Zaman) Date: Tue, 10 Jul 2018 23:03:18 +0800 Subject: [refpolicy] [PATCH 5/5] iptables: fcontexts for 1.8.0 In-Reply-To: <20180710150318.49873-1-jason@perfinion.com> References: <20180710150318.49873-1-jason@perfinion.com> Message-ID: <20180710150318.49873-5-jason@perfinion.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com The binary changed from /sbin/xtables-multi to xtables-legacy-multi and xtables-nft-multi --- policy/modules/system/iptables.fc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/iptables.fc b/policy/modules/system/iptables.fc index 32877b26..ba65e811 100644 --- a/policy/modules/system/iptables.fc +++ b/policy/modules/system/iptables.fc @@ -20,7 +20,9 @@ /usr/bin/ipvsadm-save -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/bin/nft -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/bin/xtables-compat-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) +/usr/bin/xtables-legacy-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) /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/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) @@ -40,4 +42,6 @@ /usr/sbin/ipvsadm-save -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/sbin/nft -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/sbin/xtables-compat-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) +/usr/sbin/xtables-legacy-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) /usr/sbin/xtables-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) +/usr/sbin/xtables-nft-multi -- gen_context(system_u:object_r:iptables_exec_t,s0) -- 2.16.4