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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 197ADC433DB for ; Fri, 22 Jan 2021 22:35:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC4E923AA1 for ; Fri, 22 Jan 2021 22:35:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729987AbhAVWfM (ORCPT ); Fri, 22 Jan 2021 17:35:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:38218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729912AbhAVWeX (ORCPT ); Fri, 22 Jan 2021 17:34:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D819123B09 for ; Fri, 22 Jan 2021 22:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611354819; bh=uEpvD96tWcat/Dhjsboc8KcFrUlWjIqjdqBATng0ZIE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RM7lLLs2y2584/lY+Lax4ET+BNerAZIbGHcDDXPva3GHSdujnALdi+OzW1dWBMDJb cDHZcVWCJKHTFGQxNAH+BlKmiKjeRqcygCm1hDA2/XxeCmKWCkNUHo4sV5LZK+S2Il pYU7EulEbzP23v0NQVr4d3pTAURp1BnSKbNxs7D9r2qNeKzt9Hcbv5blNY4WG5uWW5 GYl++TrzcD9tHBcIgUmNH3JRGH5lABbm1K6rXgLxXQohEeXGEpvVb7tqtPZkeNUgcd fjPnzjcLgV21LxW0hdCkGcR0DlLRwcufRBfQkXtwaz48oFRtPOBh0ddwRh5Mqyja6r I8VVHfR4dJp/Q== Received: by mail-lj1-f172.google.com with SMTP id f17so8301907ljg.12 for ; Fri, 22 Jan 2021 14:33:38 -0800 (PST) X-Gm-Message-State: AOAM530ONDqq0LLmnjfhFONg7QZvKkoJqycITpP8v0UN341CdV5qwTCm OIvDCXKzFjWTQ6t8ccSgLBdOcdQcg1QV5G6YLCtzHw== X-Google-Smtp-Source: ABdhPJwMj1N+Iqqglo06Li/iSweJcrBrd6oY1WBmInh5vbzzo0ZcaAODlHptVUHsj9RlFretP+NHltWh1ZQhtL/rakE= X-Received: by 2002:a2e:2c11:: with SMTP id s17mr945935ljs.468.1611354816974; Fri, 22 Jan 2021 14:33:36 -0800 (PST) MIME-Version: 1.0 References: <20210122123003.46125-1-mikko.ylinen@linux.intel.com> In-Reply-To: <20210122123003.46125-1-mikko.ylinen@linux.intel.com> From: KP Singh Date: Fri, 22 Jan 2021 23:33:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] bpf: Drop disabled LSM hooks from the sleepable set To: Mikko Ylinen Cc: bpf , open list , KP Singh , Daniel Borkmann Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 22, 2021 at 1:32 PM Mikko Ylinen wrote: > > Networking LSM hooks are conditionally enabled and when building the new > sleepable BPF LSM hooks with the networking LSM hooks disabled, the > following build error occurs: > > BTFIDS vmlinux > FAILED unresolved symbol bpf_lsm_socket_socketpair > > To fix the error, conditionally add the networking LSM hooks to the > sleepable set. > > Fixes: 423f16108c9d8 ("bpf: Augment the set of sleepable LSM hooks") > Signed-off-by: Mikko Ylinen Thanks! Acked-by: KP Singh