@@ -1,4 +1,4 @@
-From a2ce04cb82d545f3dbab71de7fa55eaad3df3063 Mon Sep 17 00:00:00 2001
+From cefa5ede50985803124fd09e9c6f2d07e2471e1b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 10 Jun 2024 22:52:56 -0700
Subject: [PATCH] Add __clear_cache declaration for clang
@@ -19,7 +19,7 @@ Cc: Hui Min Mina Chou <minachou@andestech.com>
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
-index 1dde9e87b..6a6f5fe5e 100644
+index f2984e2dc..5685bb864 100644
--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
+++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
@@ -19,6 +19,7 @@
@@ -1,4 +1,4 @@
-From bb9146dd322af98a7bb96ad0d84ec376589c6cde Mon Sep 17 00:00:00 2001
+From b7bf6f49fdc98dc0aac9ca6f2d581688e083ed7a Mon Sep 17 00:00:00 2001
From: "Mingde (Matthew) Zeng" <matthewzmd@gmail.com>
Date: Wed, 29 Jul 2020 08:47:09 -0400
Subject: [PATCH] Remove OOM tests from runtest/mm
deleted file mode 100644
@@ -1,33 +0,0 @@
-ltp: fix build failure with glibc 2.43
-
-glibc 2.43 added native openat2() support for the first time. This
-caused compatibility issues with LTP's internal openat2 definitions
-in lapi/openat2.h. LTP's configure detects glibc's openat2() and
-sets HAVE_OPENAT2=1, causing lapi/openat2.h to skip its own
-definitions of struct open_how, RESOLVE_* constants and the openat2()
-wrapper, resulting in a build failure.
-
-Undef HAVE_OPENAT2 in lapi/openat2.h to force LTP to always use its
-own internal definitions.this is a workaround until the fix is found.
-
-Upstream-Status: Pending
-
-Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
-
-diff --git a/include/lapi/openat2.h b/include/lapi/openat2.h
-index 03327bdb7..bd44573c9 100644
---- a/include/lapi/openat2.h
-+++ b/include/lapi/openat2.h
-@@ -14,6 +14,11 @@
-
- #include "config.h"
-
-+/* glibc 2.43 provides openat2 but LTP uses its own syscall wrapper */
-+#ifdef HAVE_OPENAT2
-+#undef HAVE_OPENAT2
-+#endif
-+
- #ifndef HAVE_OPENAT2
- /*
- * Arguments for how openat2(2) should open the target path. If only @flags and
-
@@ -1,4 +1,4 @@
-From 09364a758df9d89a0968894376f82f636441addb Mon Sep 17 00:00:00 2001
+From 89c83185e757ddaeb0262c17a10f605056f53916 Mon Sep 17 00:00:00 2001
From: Jiaying Song <jiaying.song.cn@windriver.com>
Date: Fri, 23 May 2025 15:17:49 +0800
Subject: [PATCH] syscalls/semctl08: Skip semctl08 when __USE_TIME64_REDIRECTS
@@ -20,12 +20,12 @@ Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/syscalls/ipc/semctl/semctl08.c b/testcases/kernel/syscalls/ipc/semctl/semctl08.c
-index f4549adf4..28776f266 100644
+index 083179c92..a98eb35d6 100644
--- a/testcases/kernel/syscalls/ipc/semctl/semctl08.c
+++ b/testcases/kernel/syscalls/ipc/semctl/semctl08.c
@@ -12,7 +12,11 @@
#include "tst_test.h"
- #include "libnewipc.h"
+ #include "tse_newipc.h"
-#ifdef HAVE_SEMID64_DS_TIME_HIGH
+#if !defined(HAVE_SEMID64_DS_TIME_HIGH)
similarity index 98%
rename from meta/recipes-extended/ltp/ltp_20260130.bb
rename to meta/recipes-extended/ltp/ltp_20260529.bb
@@ -24,13 +24,12 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse"
CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
-SRCREV = "6a60ae592cd375f004df0694efc7d50ddae9aa5e"
+SRCREV = "3a64d78f58bdceba93ed321e91215fb969a047ed"
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
file://0001-Add-__clear_cache-declaration-for-clang.patch \
file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \
- file://0001-ltp-fix-build-failure-with-glibc-2.43.patch \
"
inherit autotools-brokensep pkgconfig