From patchwork Fri Jan 27 13:57:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Desnoyers X-Patchwork-Id: 49436 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp849098wrn; Fri, 27 Jan 2023 06:03:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXsV1pB+9QuMGA5AhSwrz/TDHnJNhJnPC2RoBBFVStPNGhCyfOYLT114Zlnm1IQT8VCCzHpz X-Received: by 2002:a05:6a20:9399:b0:9d:efbf:7864 with SMTP id x25-20020a056a20939900b0009defbf7864mr48310259pzh.25.1674828223515; Fri, 27 Jan 2023 06:03:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828223; cv=none; d=google.com; s=arc-20160816; b=FMByYIEhNw0EzWq7Q4FNOHChCrNgEB6+Z4RTMv2K9p3Oco4B35qjmTlqHMwiuuIDtX kcdJ/ctSkYQxe2W/ysab67Md7gzia9IokZIXRHkUHwHZGbVuhZdXbPH60mBJTF+soPTr 64APO9RIv52gRCarL7R3sZtlU+OPLugVzgBGMBWktS5kXAGh06Xryr1eMOQI5QXqFOgN eTUG1+bsk2b1voNpRLu09NeG4i7uvb5EOmTTkGEQc5EXz8zY97ELxtrdQBfIL34EywLC pldyxoUai3pqRkPJkro1+8yBc0zJgJsZo71iifYJqpsElh+hObgN71tV9qrVq8L3P82n h73g== 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=cLlSt2GFLpF9C89zsOWEIdvU1mRm++XxWgpJFGO1BJg=; b=SqHkDuclwZcsexWb8xlfxmC9GH7CvxP8Ob/kBKNY/oy2e5t2MqEmwRCOPXkIuiB2LB hxexcKelP6K4rh38shFR1GiFpTn98+TXwdnMsw812Z8+e3gwhg/0h6mW3FkllFS9tZDT 92KdeldXO/Gjx/fDqWWb87nd7aFV/8wWtNZ6Ql+h+ABRXa8pufXTFpcEsveLX4A4+VyM +o0XOjA7ckVQ3hOmaQ+l0jCjn3Crvu54VCPkmRQjEjORXJkMBRSQUrYQIeiONd4BChCR qiFOqEuGHoynvqB7yhaX89/ZF6NYSqvA3wHnoN/QRjZFe8PXFhwgnck7DAZUUdFCdlNd JTdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=fx7Ccsg1; 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 i128-20020a636d86000000b004df978584dcsi2532269pgc.88.2023.01.27.06.03.20; Fri, 27 Jan 2023 06:03:43 -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=fx7Ccsg1; 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 S234814AbjA0N7i (ORCPT + 99 others); Fri, 27 Jan 2023 08:59:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233688AbjA0N61 (ORCPT ); Fri, 27 Jan 2023 08:58:27 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9C6C23308; Fri, 27 Jan 2023 05:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827888; bh=qyXkvYUwyIa3WaXYDPo/AGluylZ3rgz4mbOR6T5kRy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fx7Ccsg1l4/bIlGKAci/UtOvrAJQFUWqzzn492GzbHcL4h1usGWczP/8oHFZbF5xo 8qfAjhTZ7Sa+22OS2kqcZWJIXdvqlo4M+/VOcV0BXZow1FkdctwFwLgW9ANI/IyZJS Zi+JLh0AQI6oJZslJIrl2/N6xATYSAuEsdq6WjD0Y1EcgeqqsbgbZ3TzqdJ8i4zESh so0TvFfUgEUkHw9oJL7Iv8DDfB+Po3DAJaX7UY9r7ZwC4/PEEsJIZ/s/4jFdTKjkU9 lPunRDoIzEN2mh+wPQL0bfWoF+gztAjdvSmLCVwIeuIjGKDQogXgs30C/aHRIGIfcv G4/tkHIXBe8OA== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0c0JvFzhd3; Fri, 27 Jan 2023 08:58:08 -0500 (EST) From: Mathieu Desnoyers To: Shuah Khan , linux-kselftest@vger.kernel.org, Ingo Molnar Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers Subject: [PATCH 33/34] selftests: ptrace: Use installed kernel headers search path Date: Fri, 27 Jan 2023 08:57:54 -0500 Message-Id: <20230127135755.79929-34-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756184679547218146?= X-GMAIL-MSGID: =?utf-8?q?1756184679547218146?= Use $(KHDR_INCLUDES) as lookup path for installed kernel headers rather than using kernel headers in include/uapi from the source kernel tree kernel headers. Signed-off-by: Mathieu Desnoyers Cc: Shuah Khan Cc: linux-kselftest@vger.kernel.org Cc: Ingo Molnar --- tools/testing/selftests/ptrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ptrace/Makefile b/tools/testing/selftests/ptrace/Makefile index 2f1f532c39db..96ffa94afb91 100644 --- a/tools/testing/selftests/ptrace/Makefile +++ b/tools/testing/selftests/ptrace/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -std=c99 -pthread -iquote../../../../include/uapi -Wall +CFLAGS += -std=c99 -pthread -Wall $(KHDR_INCLUDES) TEST_GEN_PROGS := get_syscall_info peeksiginfo vmaccess