[OpenWrt-Devel] [PATCH v2] kernel: enable open by fhandle syscalls

Daniel Golle daniel at makrotopia.org
Fri Mar 13 11:26:02 EDT 2015


This is needed by many services to function properly and as
all modern distributions got it enabled, it starts to be a
de-facto standard, i.e. user-space starts to silently depend
on it.

This also pulls in EXPORTFS, however, the kernel binary size
increases only a little.
On ARM systems comes down to 800 bytes uncompressed and about
200 bytes compressed size.
On MIPS systems it's about 1.2 kB size increase of the LZMA
compressed kernel.

v2: use menuconfig option instead of just enabling the option

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-kernel.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index a0bd13e..34e07bd 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -481,3 +481,9 @@ config KERNEL_SECCOMP_FILTER
 		default n
 		help
 		  Build kernel with support for seccomp BPF programs.
+
+config KERNEL_FHANDLE
+	bool "Enable open by fhandle syscalls"
+		default n
+		help
+		  Build kernel with support for open by fhandle syscalls
-- 
2.3.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list