Browse Source

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 <[email protected]>

SVN-Revision: 48364
Felix Fietkau 9 years ago
parent
commit
e34acd64f5
2 changed files with 2 additions and 0 deletions
  1. 1 0
      package/kernel/linux/modules/fs.mk
  2. 1 0
      package/kernel/linux/modules/netsupport.mk

+ 1 - 0
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 \

+ 1 - 0
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 \