[OpenWrt-Devel] [PATCH] linux/generic: enable open by fhandle syscalls

Daniel Golle daniel at makrotopia.org
Mon Feb 16 23:35:47 EST 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.
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.

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/generic/config-3.10 | 4 ++--
 target/linux/generic/config-3.13 | 4 ++--
 target/linux/generic/config-3.14 | 4 ++--
 target/linux/generic/config-3.18 | 4 ++--
 target/linux/generic/config-3.19 | 4 ++--
 target/linux/generic/config-3.8  | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10
index 4299c57..4fa2363 100644
--- a/target/linux/generic/config-3.10
+++ b/target/linux/generic/config-3.10
@@ -829,7 +829,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -927,7 +927,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FCOE_FNIC is not set
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
diff --git a/target/linux/generic/config-3.13 b/target/linux/generic/config-3.13
index 8dff7e1..6e88c72 100644
--- a/target/linux/generic/config-3.13
+++ b/target/linux/generic/config-3.13
@@ -896,7 +896,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -996,7 +996,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FCOE_FNIC is not set
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14
index 6e70ba7..a51b347 100644
--- a/target/linux/generic/config-3.14
+++ b/target/linux/generic/config-3.14
@@ -920,7 +920,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -1021,7 +1021,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FCOE_FNIC is not set
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
index 5487bdd..a7d8155 100644
--- a/target/linux/generic/config-3.18
+++ b/target/linux/generic/config-3.18
@@ -968,7 +968,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -1070,7 +1070,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
 # CONFIG_FENCE_TRACE is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
diff --git a/target/linux/generic/config-3.19 b/target/linux/generic/config-3.19
index a5405f4..001e4ca 100644
--- a/target/linux/generic/config-3.19
+++ b/target/linux/generic/config-3.19
@@ -974,7 +974,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -1076,7 +1076,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
 # CONFIG_FENCE_TRACE is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
diff --git a/target/linux/generic/config-3.8 b/target/linux/generic/config-3.8
index 343c0dd..b962315 100644
--- a/target/linux/generic/config-3.8
+++ b/target/linux/generic/config-3.8
@@ -802,7 +802,7 @@ CONFIG_EVENTFD=y
 # CONFIG_EWRK3 is not set
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPERT=y
-# CONFIG_EXPORTFS is not set
+CONFIG_EXPORTFS=y
 # CONFIG_EXT2_FS is not set
 # CONFIG_EXT2_FS_XATTR is not set
 # CONFIG_EXT2_FS_XIP is not set
@@ -897,7 +897,7 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 # CONFIG_FCOE_FNIC is not set
 # CONFIG_FDDI is not set
 # CONFIG_FEALNX is not set
-# CONFIG_FHANDLE is not set
+CONFIG_FHANDLE=y
 CONFIG_FIB_RULES=y
 CONFIG_FILE_LOCKING=y
 # CONFIG_FIREWIRE is not set
-- 
2.3.0
_______________________________________________
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