summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-19 15:14:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-19 15:14:51 +0000
commite34acd64f5da8288bd0dab90265cfe96d21fe01f (patch)
treee6dbb747787ce9c26b29fe9991a3a33c818710bf /package
parent89ca7c5d0ed1da6fb4feb5973e5cb21d335dd36c (diff)
downloadmtk-20170518-e34acd64f5da8288bd0dab90265cfe96d21fe01f.zip
mtk-20170518-e34acd64f5da8288bd0dab90265cfe96d21fe01f.tar.gz
mtk-20170518-e34acd64f5da8288bd0dab90265cfe96d21fe01f.tar.bz2
kernel: disable AFS support by default
This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus very undesirable. It also currently exposes the kernel to a local root vulnerability Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48364
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/fs.mk1
-rw-r--r--package/kernel/linux/modules/netsupport.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index 5900a4b..a47eea9 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -29,6 +29,7 @@ $(eval $(call KernelPackage,fs-fscache))
define KernelPackage/fs-afs
SUBMENU:=$(FS_MENU)
TITLE:=Andrew FileSystem client
+ DEFAULT:=n
DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
KCONFIG:=\
CONFIG_AFS_FS=m \
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index e3fa9d7..b1cce0b 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -968,6 +968,7 @@ $(eval $(call KernelPackage,dnsresolver))
define KernelPackage/rxrpc
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=AF_RXRPC support
+ HIDDEN:=1
KCONFIG:= \
CONFIG_AF_RXRPC \
CONFIG_RXKAD=m \