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 D15B7C54EED for ; Mon, 30 Jan 2023 16:51:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237702AbjA3QvZ (ORCPT ); Mon, 30 Jan 2023 11:51:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237651AbjA3QvW (ORCPT ); Mon, 30 Jan 2023 11:51:22 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2313E0A8 for ; Mon, 30 Jan 2023 08:51:14 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id w13so1275127ilv.3 for ; Mon, 30 Jan 2023 08:51:14 -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=L4+NGVtQcxQHnP5AnyWUVuA7rVFG+isSqEi52ETwsuU=; b=B5T2nwTCHfcs88l2bKIgSjjRUGjb/i+ybCHRbsjSPwdB8KvsLaz3O0Lijw+hVQuA6o AAwidKzyQBCoNKDPjw7zhgmYCsnvZsh0BBOS426a9b/eL4lENjVccPEiHB5eM1+nvdBe kSxVb5aBvv+pnRxK0R2OXPjhV299l2x1zXVQc= 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=L4+NGVtQcxQHnP5AnyWUVuA7rVFG+isSqEi52ETwsuU=; b=DyrUStm4lJob5Lcmz5DqHRcC/0q+oag5omLIbDm9KtKKVsxOWxnWIaFi44x8tAYvm+ uBkDmT7Oh+xhTNfN1mAPR0yB+nRT1lVpZvDMmNtrNIGa7NOMyMtWk1pdDQI9nO0sK1V0 3xTudxs5B/+8xBwTHTnHM2x+/FNpJ4Dktn/8DaSi//tCd6fyfbVK2+dS6W8hSa9rkKgb JRuqz+Y/L+1i6sw934q4dUsyvBRCcmHIJVzVXVfTBSp3DD1xdE7ZQe58XtB6Tq1fb0Id pl4qJAAut8OAO1sMSdLPiTDjyY1PRK65SKher2swF//HVfKA/Kgk0n6DmxYWGcGwPLdP QhLg== X-Gm-Message-State: AO0yUKVdp01NgrvLR5WnwydM+1BrwF/d9nm50lfIGFGAzavIP8TEafMO brU0hey53Gkrm8XXYP+a/DJc+A== X-Google-Smtp-Source: AK7set8KQL/sK8y39rETcNiJ+KPIoI2Qi/10KmCTmE2Vx17U8Sdq0cTtfHgBqRQpobshNQ95ti9gwA== X-Received: by 2002:a05:6e02:12e1:b0:310:ff8c:6844 with SMTP id l1-20020a056e0212e100b00310ff8c6844mr312128iln.2.1675097473487; Mon, 30 Jan 2023 08:51:13 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id c1-20020a92bd01000000b0030f5796e89fsm4076969ile.48.2023.01.30.08.51.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 08:51:12 -0800 (PST) Message-ID: <5283d88f-624a-b6a0-d89b-64eda6f33770@linuxfoundation.org> Date: Mon, 30 Jan 2023 09:51:11 -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> <1a1b86bc-10e4-bcb9-66dd-3aa599ecadc3@linuxfoundation.org> From: Shuah Khan In-Reply-To: <1a1b86bc-10e4-bcb9-66dd-3aa599ecadc3@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/30/23 09:44, Shuah Khan wrote: > 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 > Sorry wrong message. I am taking this one through mine. -- Shuah