package/iptables: add SELinux module
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Mon, 28 Dec 2020 16:11:26 +0000 (17:11 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 29 Dec 2020 13:06:05 +0000 (14:06 +0100)
Support for iptables is adde by the system/iptables module in the
SELinux refpolicy.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/iptables/iptables.mk

index f83165edb927451990028c52032e038f342c6163..60b91efb3be59a821c02950d3f614498af144776 100644 (file)
@@ -12,6 +12,8 @@ IPTABLES_DEPENDENCIES = host-pkgconf \
        $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack)
 IPTABLES_LICENSE = GPL-2.0
 IPTABLES_LICENSE_FILES = COPYING
+IPTABLES_SELINUX_MODULES = iptables
+
 # Building static causes ugly warnings on some plugins
 IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \
        $(if $(BR2_STATIC_LIBS),,--disable-static)