Author: nbd
Date: 2016-01-19 16:14:51 +0100 (Tue, 19 Jan 2016)
New Revision: 48364

Modified:
   trunk/package/kernel/linux/modules/fs.mk
   trunk/package/kernel/linux/modules/netsupport.mk
Log:
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]>

Modified: trunk/package/kernel/linux/modules/fs.mk
===================================================================
--- trunk/package/kernel/linux/modules/fs.mk    2016-01-19 12:41:59 UTC (rev 
48363)
+++ trunk/package/kernel/linux/modules/fs.mk    2016-01-19 15:14:51 UTC (rev 
48364)
@@ -29,6 +29,7 @@
 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 \

Modified: trunk/package/kernel/linux/modules/netsupport.mk
===================================================================
--- trunk/package/kernel/linux/modules/netsupport.mk    2016-01-19 12:41:59 UTC 
(rev 48363)
+++ trunk/package/kernel/linux/modules/netsupport.mk    2016-01-19 15:14:51 UTC 
(rev 48364)
@@ -968,6 +968,7 @@
 define KernelPackage/rxrpc
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=AF_RXRPC support
+  HIDDEN:=1
   KCONFIG:= \
        CONFIG_AF_RXRPC \
        CONFIG_RXKAD=m \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to