[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250203-parse_vdso-nolibc-v1-13-9cb6268d77be@linutronix.de>
Date: Mon, 03 Feb 2025 10:05:14 +0100
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Kees Cook <kees@...nel.org>, Eric Biederman <ebiederm@...ssion.com>,
Shuah Khan <shuah@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Andy Lutomirski <luto@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Vincenzo Frascino <vincenzo.frascino@....com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, llvm@...ts.linux.dev,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH 13/16] selftests: vDSO: parse_vdso: Make compatible with
nolibc
nolibc does not provide this header, instead its definitions are
available unconditionally.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
---
tools/testing/selftests/vDSO/parse_vdso.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/vDSO/parse_vdso.c b/tools/testing/selftests/vDSO/parse_vdso.c
index 902b8f9984a1f70049d46bcd4f199df24f507dcb..6ea1d7cca6a3da910097630e8237a3a6daa0cd06 100644
--- a/tools/testing/selftests/vDSO/parse_vdso.c
+++ b/tools/testing/selftests/vDSO/parse_vdso.c
@@ -18,7 +18,9 @@
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
+#ifndef NOLIBC
#include <limits.h>
+#endif
#include <linux/auxvec.h>
#include <linux/elf.h>
--
2.48.1
Powered by blists - more mailing lists