diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-19 15:15:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-19 15:15:11 +0000 |
commit | 38e3298a8b49d231cacf8e7ef79e54bfb1a806eb (patch) | |
tree | 043c0e60fd4ca827955969d49d3ad456cf385114 | |
parent | e31260baa76865bc69c435d33b8685d131a52be7 (diff) | |
download | upstream-38e3298a8b49d231cacf8e7ef79e54bfb1a806eb.tar.gz upstream-38e3298a8b49d231cacf8e7ef79e54bfb1a806eb.tar.bz2 upstream-38e3298a8b49d231cacf8e7ef79e54bfb1a806eb.zip |
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>
Backport of r48364
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48365 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/fs.mk | 1 | ||||
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index ca529ff424..fa182375ea 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 b1899da5f9..cea8e47a65 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -989,6 +989,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 \ |