Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 491B1C636D0 for ; Mon, 30 Jan 2023 16:44:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235709AbjA3Qog (ORCPT ); Mon, 30 Jan 2023 11:44:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230358AbjA3Qod (ORCPT ); Mon, 30 Jan 2023 11:44:33 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CC56EF85 for ; Mon, 30 Jan 2023 08:44:31 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id h18so2574517ilj.6 for ; Mon, 30 Jan 2023 08:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TP2FA9iVMVG7/uMbkVvWEbyziyRGtaH4gEIa9aqoO6M=; b=WmxTjqEvz6RHfM+FNxsU5RBZ+krkXdzQanA37TRAQ61CoeYNZGN1TLNGZzFkjzjijt wfNGM1gdkkQjpyBrjRwpFPjY63qP/EFazAb3LtRBupwzSRb7o5+Gu2isjlAvyPq5px1h ysPRnt/IRowx6BGAwfr9PTKVfffkpkwHX1ZXQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TP2FA9iVMVG7/uMbkVvWEbyziyRGtaH4gEIa9aqoO6M=; b=uKQBPvJWbsT+eJsrmCy11XAkik24/MnWKVof8Ehg40Q4H1ijjrbaX6RRdtb19B6WWb gd5RpeW5zdjf5AmNkL00sut73B7eTTCGKgX00jnFxM6wNVpAllkIsEegPpmrzWPYsy+9 +kx59Wcg8Za+lsq+4B3VEw2nCIOpai5hXx33cVWm9l3ZaXZDCZouBVIXICvcitJ29PSp YYP72zkmuJ0WE+/H/rXiDnbbbQ9fEwFC8lnpVdRuZMqSCKJOQ2Yt8DIOjK8klKPrwbRA LwgyhjYUgR6dNEXPD8ro/fJWad8mZyDSWSSEZdKQchZ/IH6lCzntSr8BuH0VzkhV9vum FdBg== X-Gm-Message-State: AO0yUKUBlLPdjqOCLKR7UH2lnArVCMDmsku+vUb2XrJxkFD6jHA3e6Ca k2yhdc0wWX//e+f/1mBe+DRp7g== X-Google-Smtp-Source: AK7set+K/RkA4gMwXUEvq3WwX+LvCyjoutxOC3teKcL+JdCGNVlAzyhiJyJbhalYWU3RJeG23o8Gpg== X-Received: by 2002:a05:6e02:1a46:b0:310:ecea:b488 with SMTP id u6-20020a056e021a4600b00310eceab488mr1007591ilv.3.1675097070968; Mon, 30 Jan 2023 08:44:30 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id x7-20020a923007000000b003109eed8dfdsm4088277ile.17.2023.01.30.08.44.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 08:44:30 -0800 (PST) Message-ID: <1a1b86bc-10e4-bcb9-66dd-3aa599ecadc3@linuxfoundation.org> Date: Mon, 30 Jan 2023 09:44:29 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 26/34] selftests: sync: Fix incorrect kernel headers search path Content-Language: en-US To: Mathieu Desnoyers , Shuah Khan , linux-kselftest@vger.kernel.org, Ingo Molnar , Kees Cook Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Shuah Khan References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> <20230127135755.79929-27-mathieu.desnoyers@efficios.com> From: Shuah Khan In-Reply-To: <20230127135755.79929-27-mathieu.desnoyers@efficios.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/23 06:57, Mathieu Desnoyers wrote: > Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents > building against kernel headers from the build environment in scenarios > where kernel headers are installed into a specific output directory > (O=...). > > Signed-off-by: Mathieu Desnoyers > Cc: Shuah Khan > Cc: linux-kselftest@vger.kernel.org > Cc: Ingo Molnar > Cc: [5.18+] > --- > tools/testing/selftests/sync/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile > index d0121a8a3523..df0f91bf6890 100644 > --- a/tools/testing/selftests/sync/Makefile > +++ b/tools/testing/selftests/sync/Makefile > @@ -1,6 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra > -CFLAGS += -I../../../../usr/include/ > +CFLAGS += $(KHDR_INCLUDES) > LDFLAGS += -pthread > > .PHONY: all clean Adding seccomp maintainers: kees, I plan to take this through kselftest unless there are conflicts. In case there are conflicts and you want to take this through yours Acked-by: Shuah Khan thanks, -- Shuah