From patchwork Fri Mar 13 15:26:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 449973 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C76B3140146 for ; Sat, 14 Mar 2015 02:26:27 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9B72D2803EF; Fri, 13 Mar 2015 16:25:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A44022801A3 for ; Fri, 13 Mar 2015 16:25:48 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from fudo.makrotopia.org (fudo.makrotopia.org [5.135.190.93]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 13 Mar 2015 16:25:48 +0100 (CET) Received: from local by fudo.makrotopia.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YWRTX-0001Ei-DA; Fri, 13 Mar 2015 16:26:11 +0100 Date: Fri, 13 Mar 2015 16:26:02 +0100 From: Daniel Golle To: openwrt-devel@lists.openwrt.org Message-ID: <20150313152555.GA31101@makrotopia.org> References: <20150217043539.GA24163@makrotopia.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150217043539.GA24163@makrotopia.org> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [OpenWrt-Devel] [PATCH v2] kernel: enable open by fhandle syscalls X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 --- 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