From nobody Tue Feb 10 02:43:21 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4784A334C27; Thu, 15 Jan 2026 08:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768465813; cv=none; b=GJAtu/oDIMizkCKtHdirIIyeJaIJBC28OjPxgm2URvHrciAwZT1vD6SPBKqYloRQqBNurGpGs/jAimVnPTvLBa9AxH8/UYHCGW2UrKK2azP6uX8t6zzUNJnX6ObrJ2UWjPbDGSz8Y8WimHzpmr9AU12UGca88Zw3lQbJLcU7ISs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768465813; c=relaxed/simple; bh=aT4hP/Xjaz7+PkNF5DQWPJA6Sb3o1cAR5eFVQ/RwAdY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=F2RsAzT0Y4viyabz9U8c7kUHmkX98fQ4gqT8n5Po1D+Q1x5bXvX0tw5mRsoChiMEMkckkMCYSFVbQONS7ktN80e+FkH8wmYUKtngCo62D1xsyPpsQSpcj0PVPPNWCS6cnVEzMboXqetxJOCIzKTgY27u7ux5MzVuvmfLzn9py6Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=TIPGLfQS; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=1fTyM0dN; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="TIPGLfQS"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="1fTyM0dN" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1768465800; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FIAW7yt+HRVaavrO4/GGIGyhQt+lpXP6LVx2zSI/KXc=; b=TIPGLfQSzSugXhKQw1yssBHRvchWYzGcuaW8ybb+u2jLmm74sgm78+9ftN5DRnHdBBAQGX Jpp1UVu1a1wA3LjIY2L2BX1xLpe6f0qWztL87cE6dSQpoPd5zvhqZ/uL7IcxQteOwtJuzI 27QR1ckjlpJVusFKivOJMUxeK0SPJ6odESqU/cixRNNVWcgJfv4GgLNM5VkRDc+xQKoreB 3w6VukK4o29tDoLAEX4q9yAPk9WH2dHckZ11vSv+MNAXaQA7jgoDIWEMDfXupgG1zWNvze 0EQiPWsyyYrKtx0zZnbqa/ewZ8GEnW/xmS3Pfn6qaIIUeuN9eNV3SmHa44aGKA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1768465800; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FIAW7yt+HRVaavrO4/GGIGyhQt+lpXP6LVx2zSI/KXc=; b=1fTyM0dNy/EUlGLy7sQnMjBZH2RN0QUXP8zweyJ9e1OkjJI7mEF+qAUyaDrzwY+e+NgU+n kDbissPk5F0iJhBw== Date: Thu, 15 Jan 2026 09:29:53 +0100 Subject: [PATCH 1/6] Revert "selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260115-vdso-selftest-cleanups-v1-1-103e1ccbfdc3@linutronix.de> References: <20260115-vdso-selftest-cleanups-v1-0-103e1ccbfdc3@linutronix.de> In-Reply-To: <20260115-vdso-selftest-cleanups-v1-0-103e1ccbfdc3@linutronix.de> To: Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1768465799; l=1734; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=aT4hP/Xjaz7+PkNF5DQWPJA6Sb3o1cAR5eFVQ/RwAdY=; b=I1sfybExBJCy65ulQBUldZkCE+AIFZ+APUUjN9OEYTkWzDg9g5zT4tiNtKRpNkqYQe1CyFkzA fuWbHkETWwFCQX/MHnM7vOJHxSbM1X38YWCxTZyCnpjPhuXL/06RSYi X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= This reverts commit c9fbaa879508 ("selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers") The kernel headers were used to make parse_vdso.c compatible with nolibc. Unfortunately linux/elf.h is incompatible with glibc's sys/auxv.h. When using glibc it is therefore not possible build parse_vdso.c as part of the same compilation unit as its caller as sys/auxv.h is needed for getauxval(). In the meantime nolibc gained its own elf.h, providing compatibility with the documented libc interfaces. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/testing/selftests/vDSO/Makefile | 2 -- tools/testing/selftests/vDSO/parse_vdso.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/testing/selftests/vDSO/Makefile b/tools/testing/selftest= s/vDSO/Makefile index e361aca22a74..2de5cef311c8 100644 --- a/tools/testing/selftests/vDSO/Makefile +++ b/tools/testing/selftests/vDSO/Makefile @@ -19,8 +19,6 @@ endif =20 include ../lib.mk =20 -CFLAGS +=3D $(TOOLS_INCLUDES) - CFLAGS_NOLIBC :=3D -nostdlib -nostdinc -ffreestanding -fno-asynchronous-un= wind-tables \ -fno-stack-protector -include $(top_srcdir)/tools/include/nolibc/nolibc= .h \ -I$(top_srcdir)/tools/include/nolibc/ $(KHDR_INCLUDES) diff --git a/tools/testing/selftests/vDSO/parse_vdso.c b/tools/testing/self= tests/vDSO/parse_vdso.c index 3ff00fb624a4..c6ff4413ea36 100644 --- a/tools/testing/selftests/vDSO/parse_vdso.c +++ b/tools/testing/selftests/vDSO/parse_vdso.c @@ -19,8 +19,7 @@ #include #include #include -#include -#include +#include =20 #include "parse_vdso.h" =20 --=20 2.52.0