From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29759C2D0EF for ; Mon, 30 Mar 2020 18:05:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 03AA22072E for ; Mon, 30 Mar 2020 18:05:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WQE+QWOm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728061AbgC3SFo (ORCPT ); Mon, 30 Mar 2020 14:05:44 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39463 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727975AbgC3SFn (ORCPT ); Mon, 30 Mar 2020 14:05:43 -0400 Received: by mail-wr1-f68.google.com with SMTP id p10so22840914wrt.6 for ; Mon, 30 Mar 2020 11:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eK8x7gAXMov1inBTyCa9T4MtcTyNUJQUaxWPoEq8WPM=; b=WQE+QWOmy+rAqfpi/9XWYmLS7jKwH6IbEwVcxVE/K6tVdNy/4xbN85nlusDSzm757a N8Esq9fl5Qh8a89xDGWWUQzzWddG3vupEw//z1mNposwwR3yEPcMIPJRq7YVVtoKQP+p SKQfYVxP6q6j+vCw/suwHBGl91DNojYqK1BMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eK8x7gAXMov1inBTyCa9T4MtcTyNUJQUaxWPoEq8WPM=; b=TAiR+4rfROuFDFSH//HmJqarYSbbYy1eCMr9FTupFpeVxAycgC2qQdqPVp/hk4Etga 8G9/az7TOrDvt5KqGOAA+vg5Z1pBoKH5UxQZzMpS/Dm8KBbUXQQCr8y8qONPQZKEOE2j tmf8WhrRbYYUzzI2FU+9WwqAGSarsaoEfRFC83snMV964BXmTqyXnAkc7Rvx1e78DJ1t 2GhHylm1QjqCZHZNTpSTSrhA/KkZ9EmiB5DGcas1Orea4YkuQBmDnWyeKP3K0XxlzHMq dt1ST3ZPVKfPxzT23Z60FAAkxPQV3nyvTZfiCexBPv2OwR6hzzZHNQpuW6jN4JOakcCS qOTA== X-Gm-Message-State: ANhLgQ0yWFKCeOjzjqqkj89CJwWdN5NLNolTNxhcsIjewKh3J4Yer3W/ YWpMgteYu+WPMY1iaKaIBtANmA== X-Google-Smtp-Source: ADFU+vsG5+POHNwCtn212r3+bWb5NCSQtxsMW+v/nEnnXabDTUyOReQMMj7YdyJUl9iPEcp/c2B64w== X-Received: by 2002:adf:e946:: with SMTP id m6mr16493103wrn.187.1585591540289; Mon, 30 Mar 2020 11:05:40 -0700 (PDT) Received: from google.com ([2a00:79e0:42:204:8a21:ba0c:bb42:75ec]) by smtp.gmail.com with ESMTPSA id l4sm21826103wru.1.2020.03.30.11.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 11:05:39 -0700 (PDT) From: KP Singh X-Google-Original-From: KP Singh Date: Mon, 30 Mar 2020 20:05:38 +0200 To: KP Singh Cc: Daniel Borkmann , Randy Dunlap , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , bpf , "netdev@vger.kernel.org" Subject: Re: linux-next: Tree for Mar 30 (bpf) Message-ID: <20200330180538.GA180081@google.com> References: <20200330204307.669bbb4d@canb.auug.org.au> <86f7031a-57c6-5d50-2788-ae0e06a7c138@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30-Mar 19:54, KP Singh wrote: So, it looks like bpf_tracing_func_proto is only defined when CONFIG_BPF_EVENTS is set: obj-$(CONFIG_BPF_EVENTS) += bpf_trace.o We have a few options: * Add a __weak symbol for bpf_tracing_func_proto which we have done in the past for similar issues. This however, does not make much sense, as CONFIG_BPF_LSM cannot really do much without its helpers. * Make CONFIG_BPF_LSM depend on CONFIG_BPF_EVENTS, this should solve it, but not for this particular Kconfig that was generated. Randy, I am assuming if we add the dependency, this particular Kconfig won't be generated. I am assuming this patch now needs to be sent for "bpf" and not "bpf-next" as the merge window has opened? - KP > Thanks for adding me Daniel, taking a look. > > - KP > > On Mon, Mar 30, 2020 at 7:25 PM Daniel Borkmann wrote: > > > > [Cc KP, ptal] > > > > On 3/30/20 7:15 PM, Randy Dunlap wrote: > > > On 3/30/20 2:43 AM, Stephen Rothwell wrote: > > >> Hi all, > > >> > > >> The merge window has opened, so please do not add any material for the > > >> next release into your linux-next included trees/branches until after > > >> the merge window closes. > > >> > > >> Changes since 20200327: > > > > > > (note: linux-next is based on linux 5.6-rc7) > > > > > > > > > on i386: > > > > > > ld: kernel/bpf/bpf_lsm.o:(.rodata+0x0): undefined reference to `bpf_tracing_func_proto' > > > > > > > > > Full randconfig file is attached. > > > > >