瀏覽代碼

netfilter: make security table depend on NETFILTER_ADVANCED

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Patrick McHardy 17 年之前
父節點
當前提交
70eed75d76
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      net/ipv4/netfilter/Kconfig
  2. 1 1
      net/ipv6/netfilter/Kconfig

+ 1 - 1
net/ipv4/netfilter/Kconfig

@@ -369,7 +369,7 @@ config IP_NF_SECURITY
 	tristate "Security table"
 	tristate "Security table"
 	depends on IP_NF_IPTABLES
 	depends on IP_NF_IPTABLES
 	depends on SECURITY
 	depends on SECURITY
-	default m if NETFILTER_ADVANCED=n
+	depends on NETFILTER_ADVANCED
 	help
 	help
 	  This option adds a `security' table to iptables, for use
 	  This option adds a `security' table to iptables, for use
 	  with Mandatory Access Control (MAC) policy.
 	  with Mandatory Access Control (MAC) policy.

+ 1 - 1
net/ipv6/netfilter/Kconfig

@@ -213,7 +213,7 @@ config IP6_NF_SECURITY
        tristate "Security table"
        tristate "Security table"
        depends on IP6_NF_IPTABLES
        depends on IP6_NF_IPTABLES
        depends on SECURITY
        depends on SECURITY
-       default m if NETFILTER_ADVANCED=n
+       depends on NETFILTER_ADVANCED
        help
        help
          This option adds a `security' table to iptables, for use
          This option adds a `security' table to iptables, for use
          with Mandatory Access Control (MAC) policy.
          with Mandatory Access Control (MAC) policy.