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
This commit is contained in:
		@@ -29,6 +29,7 @@ $(eval $(call KernelPackage,fs-fscache))
 | 
				
			|||||||
define KernelPackage/fs-afs
 | 
					define KernelPackage/fs-afs
 | 
				
			||||||
  SUBMENU:=$(FS_MENU)
 | 
					  SUBMENU:=$(FS_MENU)
 | 
				
			||||||
  TITLE:=Andrew FileSystem client
 | 
					  TITLE:=Andrew FileSystem client
 | 
				
			||||||
 | 
					  DEFAULT:=n
 | 
				
			||||||
  DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
 | 
					  DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
 | 
				
			||||||
  KCONFIG:=\
 | 
					  KCONFIG:=\
 | 
				
			||||||
	CONFIG_AFS_FS=m \
 | 
						CONFIG_AFS_FS=m \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -968,6 +968,7 @@ $(eval $(call KernelPackage,dnsresolver))
 | 
				
			|||||||
define KernelPackage/rxrpc
 | 
					define KernelPackage/rxrpc
 | 
				
			||||||
  SUBMENU:=$(NETWORK_SUPPORT_MENU)
 | 
					  SUBMENU:=$(NETWORK_SUPPORT_MENU)
 | 
				
			||||||
  TITLE:=AF_RXRPC support
 | 
					  TITLE:=AF_RXRPC support
 | 
				
			||||||
 | 
					  HIDDEN:=1
 | 
				
			||||||
  KCONFIG:= \
 | 
					  KCONFIG:= \
 | 
				
			||||||
	CONFIG_AF_RXRPC \
 | 
						CONFIG_AF_RXRPC \
 | 
				
			||||||
	CONFIG_RXKAD=m \
 | 
						CONFIG_RXKAD=m \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user