Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1386620pxb; Fri, 22 Jan 2021 14:38:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCcD1LEoXlvCFulb7FR1AFnaikrd6HyA9+e25OovbjVPir4eiD/CDJgkaNgeZcCBuCVk1Y X-Received: by 2002:a17:906:509:: with SMTP id j9mr4371438eja.89.1611355085276; Fri, 22 Jan 2021 14:38:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611355085; cv=none; d=google.com; s=arc-20160816; b=qaqzpxenE2vUQb8Ms5JUTCn3dP/6wk/LQVLVj2uxOTLrGEmoElTe1vlol4sOj3KfJx tjJZYqCzAsTvvdkRNZV6oq42TNBq+sl6ZCDtkU9nSxSc4Ouq9EXzaOs2I+MBxkaHNNZF FhbUrxTkx34dr5K2X2nKwl+kePnDwq2Q/V0gU0KRq6a/DmVlfEVwTaHhlyPCSljXUDLE w14OscXNx4N5ofGqhS4sC/YbFWl7Ov3YBZ5kgPGmFQCst2SkmgG1IQNSg8lfLoQD/Kx1 T7ELIWgpXm2cEH5FjTLP0ALPoJQrI+FSDd2a4xiQXYmZ0Q5hatmvw+87t0XFhJz86uUf 3Q4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ISvgoGY1oPIc4MrKMO0KxI1LYEEKjElU9afZUJaQBKc=; b=JsTRrSXqAHWFbDpTSMGKyRsv5nZ1jmC06qRtLENdgmG4MLASykVmV2gLZEY1s6FywB dzPmi7cf5yRCTCLOzJRjxDg5R3wz8625IjgUEBQEhZ6jhG/98UQ5slpSjQcHYRA91qBS XL4ONODCAzqorZl7OCUgR/euD0GEdCyBVoXDFXPLoliRgI1/Fgail5/MZvMK3EjEmj2x 0Siv3gu1rr9vQADjYJvHy9BEce2LYVWsU4bzsao7jgjEgPncuNXLojYcAg/u8gFd/zhB FgooUgjt1gflljpKB+4jWbfEXOGIIwB2DBGmWfQS4oRO1gc9xLAIQX+Zghpv3DbQPpKc rl7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RM7lLLs2; 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 k25si4114905edq.373.2021.01.22.14.37.41; Fri, 22 Jan 2021 14:38:05 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=RM7lLLs2; 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 S1729109AbhAVWeu (ORCPT + 99 others); Fri, 22 Jan 2021 17:34:50 -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-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