Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp226646ybk; Sat, 9 May 2020 00:53:58 -0700 (PDT) X-Google-Smtp-Source: APiQypKRNY6/28dI0LXcWz9iOGOlbqG7N9IZ3mVw/a4KT6YcfAoj3D7rz0qi9pxRL/PQi+cL6fA5 X-Received: by 2002:a50:ef18:: with SMTP id m24mr5235378eds.281.1589010838510; Sat, 09 May 2020 00:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589010838; cv=none; d=google.com; s=arc-20160816; b=dRfQ5U16pnOd/Vyr9zYPvotuAU952+a2aOA/D92jeDogph9fQCIzqWzzpNNxfrgVH8 2WcYxyPGF8OQFy4joj7U7ifyB4QyrrFVpF7qwSD146CzAm3aasQWptmY3+1TfFSx7mL4 T07iavRMZTY2X/zpWS8Cnp+jKqlGpbpn6XwmzThIzD/Fo92KvbS2/lPkJuykNrrwbWbF 5/yMQYX5t7YjPAsTy4bQLhXsh/6CK39Y0D/xDFKJ5+coP+OpygEmhcGBwbYKBJRRzb4p hGjqJF9Lz0GZJs6jw3OvdU7hOOCZ+fvcIc0SAk8pzJmyX26JvK3t3okS1ZZjJ0ZnO1uX w+Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=2V92LfBMVAyVrFXs5lPr1OUX4aisTenE89ByV2XZ0Yc=; b=cPK94W4k37gEec1bv6dv3PO1VLGu0izbTgxFYXHRELsGJ6JvstWUorlcxojosqPJiP +reWRykNMSMrTasDDqchZBgu0y/swh3pFR1SahY+DLpLJc9nUjImb6xdogPrSE7/9Vlv S9pOnWeArYYqPi7HX3U8mJ+isD0/d2j4caQJxZaZxiT+uwWCqf8BEaHAlCE60vKDQXTJ W+ljKXyVi97htH5dA4L3zy47svhcdpRw5J1dRFi98cFSVjJdB+IyUY3UWxbbATcngBZO FS7JK/C8/2alWFpJ9uVMrb02/iv83ojBW9d4uc4s3k6NRroOm4vRC463f0jVl6c3QO84 Kt6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jBP+CKa7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si2269240edb.189.2020.05.09.00.53.35; Sat, 09 May 2020 00:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jBP+CKa7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727096AbgEIHwO (ORCPT + 99 others); Sat, 9 May 2020 03:52:14 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:47504 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbgEIHwO (ORCPT ); Sat, 9 May 2020 03:52:14 -0400 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 0497paTk010240; Sat, 9 May 2020 16:51:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 0497paTk010240 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1589010697; bh=2V92LfBMVAyVrFXs5lPr1OUX4aisTenE89ByV2XZ0Yc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jBP+CKa7kC0qTwFsBAkCFOtPN8P85iXmEoaulhtBOdNH+4Xc0U972VfXpqeBjqMDD Gdue98JQ/Ig2GSRdvzedNUBOzjV4BXTNHgCwIpOeu9H3RVLyDZOAoUgl9ojhAWAM7M ekAHcRkF7RulH2FLGdyxNkw0XXwsrL0K+gDXXCcSqIlULlnx8ng9RKbbj145N43EIf SznUMP1Oayx9m7ZG3fZlPfMnHxzHJXYXe1i5cPj+gi6sx6wwQtS6vnNJEW1UcI35AL 66Txe/cAyPCmwhIcq5/JLOfq/0+G+nG3FOA03pUKxihiGZ/rCjkHAZJONxWIYidIQg BD56OZTMeOH7A== X-Nifty-SrcIP: [209.85.222.41] Received: by mail-ua1-f41.google.com with SMTP id t8so1556683uap.3; Sat, 09 May 2020 00:51:37 -0700 (PDT) X-Gm-Message-State: AGi0PuaGN8xDVdjNYJTXVN+FwQUbT08mmOO2TkxRlk6/d26BAo+BD1O2 rSy3JBOZPjDYadpgrQDyIUCKBH2jgIfFttEa3gw= X-Received: by 2002:ab0:4ac9:: with SMTP id t9mr5406736uae.40.1589010695831; Sat, 09 May 2020 00:51:35 -0700 (PDT) MIME-Version: 1.0 References: <131136.1588999639@turing-police> In-Reply-To: <131136.1588999639@turing-police> From: Masahiro Yamada Date: Sat, 9 May 2020 16:51:00 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] bpfilter: document build requirements for bpfilter_umh To: =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= Cc: Sam Ravnborg , "David S. Miller" , Networking , bpf , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 9, 2020 at 1:47 PM Valdis Kl=C4=93tnieks wrote: > > It's not intuitively obvious that bpfilter_umh is a statically linked bin= ary. > Mention the toolchain requirement in the Kconfig help, so people > have an easier time figuring out what's needed. > > Signed-off-by: Valdis Kletnieks > Applied to linux-kbuild. Thanks. > diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig > index fed9290e3b41..0ec6c7958c20 100644 > --- a/net/bpfilter/Kconfig > +++ b/net/bpfilter/Kconfig > @@ -13,4 +13,8 @@ config BPFILTER_UMH > default m > help > This builds bpfilter kernel module with embedded user mode help= er > + > + Note: your toolchain must support building static binaries, sin= ce > + rootfs isn't mounted at the time when __init functions are call= ed > + and do_execv won't be able to find the elf interpreter. > endif > --=20 Best Regards Masahiro Yamada