Message ID | 20230127135755.79929-20-mathieu.desnoyers@efficios.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp849498wrn; Fri, 27 Jan 2023 06:04:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGVA7TG3rYBpznytgNYo5/sE5zO3gLLJooCY6GkPZMaDzHZuuz5FO6UdxMQKlDZbCcHopn X-Received: by 2002:a17:902:d2cd:b0:195:e457:341a with SMTP id n13-20020a170902d2cd00b00195e457341amr36140348plc.4.1674828256901; Fri, 27 Jan 2023 06:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828256; cv=none; d=google.com; s=arc-20160816; b=aEXyqXM7bQa7/OMnCLURmirSu/uyAAuQB+Jigf3Cv/7npqb6sCTt/oVZFOglE/R5lG OrU38jH5ArUhw863wd+Oyq0NtpuoXepOJXDgwyot5Pf79IPJR/T1w0Mq9oJnNBZZmlhH L8w/wgYkl9ArGHyxTizo/8W1iUbRDUPcJ8EeJ5jv0cBebKqacf7vp3HzQwuZnG0hd7n/ MdSWrsltCMUKZRm2zQchuCKlM/4IQfUd6EmE1xSV7ub06Eh7d/TiRQl4nCPUVsDNcYdE 1K8eHvX4JXDshVCD2opBxqiNj3dbwNcO30fMvZi2g3RKNZVDo3s+M2Uf36ydwbIVg4ji gkPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZfVNyBH390ViQs/7UYKzoa1hIWc2c3sALrqigCHYNVY=; b=KlSLisGAYgG4IIRlkuuZ3MMXOTb8blJ7v/VJNRl+nQULF8uDKPUb8BfTJgupGdVPJg 3KXGTSSB3NsjoubUX6kYyOpV9LbQC8eB6arcCiFqgMxbkNwKNQSYyBS4eLQwKKYPZ31v Ha2gz9uahQWbrdN5PoSZOL2CUkQa2cbU0Y9GTU48Eu0M1PGrz6TTvSYgwxpYbvT21BGQ BpUXBcAvkekUkjYK1fZXZsbRntbMtURBRJiJbNE2GTqAGaLoulnVEej3kGmDhtxD3K45 ReRnKaDY8zfs8tXH3bjTBPN3/zy3mR3VVfsIPYA0YoshUl8MyA4mCMGh4vGJZrk0e8pb Eb5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=oVHmXurz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a170903211500b00189b36a5427si4431298ple.16.2023.01.27.06.03.39; Fri, 27 Jan 2023 06:04:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=oVHmXurz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbjA0N7W (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 08:59:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233744AbjA0N6M (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 08:58:12 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5204222D6; Fri, 27 Jan 2023 05:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827885; bh=Xbp5KzcrorO+aTVy5ft5VjJu1byFBs5Sa3jbbZp1vXo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oVHmXurzNmglu93HtwBBBAsCOSaianGAd+AzEWyrbKeRnf6jH0Kt3vFsk6Y9Zg5Bv cw81yKik2bvZHb3qBwcTtv/s0nZPmn1GUJIWynbu86vmNxq54pJV4ECjVEGo1AomAG bMZExrBryqrRRk96dF7VpC3Xvo8ctbak8bVDpqZeEDhbUQ6ovNuQTzoiBZJJJpoGYa kF7AB7PzQB7AShOQpOqVm6EoAUjyQeDdwzxxeqBXLPLCJMq3xLIImb8tTi2vU7OktB PHGrZQH/BMWKbDYhsksIIkkTV5PyzpzCCs+IGk2Gr6wBTcB+LZjBlmF1j2szkVTSoX vCbZI+fIJj//g== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0Y1McdzhWd; Fri, 27 Jan 2023 08:58:05 -0500 (EST) From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> To: Shuah Khan <shuah@kernel.org>, linux-kselftest@vger.kernel.org, Ingo Molnar <mingo@redhat.com> Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, stable@vger.kernel.org Subject: [PATCH 19/34] selftests: pid_namespace: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:40 -0500 Message-Id: <20230127135755.79929-20-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756184714316853518?= X-GMAIL-MSGID: =?utf-8?q?1756184714316853518?= |
Series |
selftests: Fix incorrect kernel headers search path
|
|
Commit Message
Mathieu Desnoyers
Jan. 27, 2023, 1:57 p.m. UTC
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 <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org> [5.18+]
---
tools/testing/selftests/pid_namespace/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/pid_namespace/Makefile b/tools/testing/selftests/pid_namespace/Makefile index edafaca1aeb3..9286a1d22cd3 100644 --- a/tools/testing/selftests/pid_namespace/Makefile +++ b/tools/testing/selftests/pid_namespace/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS += -g -I../../../../usr/include/ +CFLAGS += -g $(KHDR_INCLUDES) TEST_GEN_PROGS = regression_enomem