]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update the LTP version in valgrind testsuite to v20260529 master
authorMartin Cermak <mcermak@redhat.com>
Fri, 12 Jun 2026 15:07:52 +0000 (17:07 +0200)
committerMartin Cermak <mcermak@redhat.com>
Fri, 12 Jun 2026 15:07:52 +0000 (17:07 +0200)
Update the LTP version in valgrind testsuite to v20260529.
All patches from auxprogs/ltp-patches were accepted by LTP
upstream and included in the release, so these can now be
dropped locally.

https://bugs.kde.org/show_bug.cgi?id=521029

auxprogs/Makefile.am
auxprogs/ltp-patches/openat2.patch [deleted file]

index f5be90eb1938b0f63e6fb579a58b6377466f385d..6dceee0eed5d3065260ad55f68343b344fc7285e 100644 (file)
@@ -21,8 +21,7 @@ LTP_FILTERS = \
        filters/select03 \
        filters/munmap01
 
-LTP_PATCHES = \
-       ltp-patches/openat2.patch
+LTP_PATCHES =
 
 EXTRA_DIST = \
        docs/valgrind-listener-manpage.xml \
@@ -172,8 +171,8 @@ endif
 endif
 
 # Linux Test Project
-LTP_VERSION=20260130
-LTP_SHA256_SUM=5effc9d3eb3f5cd45d47e8ac3d78f59cb8f3f73c8598a2f182ef5b40ddfff311
+LTP_VERSION=20260529
+LTP_SHA256_SUM=685d83c6e370ac09201fb79593412f868fe031ee2890e204b5727fedcf51fb47
 LTP_TAR_NAME=ltp-full-$(LTP_VERSION).tar.xz
 LTP_URL=https://github.com/linux-test-project/ltp/releases/download/$(LTP_VERSION)/$(LTP_TAR_NAME)
 LTP_TAR=$(AUX_CHECK_DIR)/$(LTP_TAR_NAME)
diff --git a/auxprogs/ltp-patches/openat2.patch b/auxprogs/ltp-patches/openat2.patch
deleted file mode 100644 (file)
index 74375cc..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-commit 767b3e519e85095dfee3a47d15a373a403fe3dab
-Author: Li Wang <liwang@redhat.com>
-Date:   Tue Feb 3 10:43:19 2026 +0800
-
-    openat2: define _GNU_SOURCE and include <fcntl.h>
-    
-    On Fedora Rawhide (glibc 2.43+), libc exposes openat2() and struct open_how,
-    so our configure script defines HAVE_OPENAT2 and the fallback definition in
-    lapi/openat2.h gets skipped. But openat20*.c never included <fcntl.h> (and
-    lacked _GNU_SOURCE), so the libc-provided prototype and struct stayed hidden,
-    so compilation failed:
-    
-      # uname -r
-      6.18.0-65.fc44.x86_64
-    
-      # rpm -qf /usr/include/fcntl.h
-      glibc-devel-2.43-1.fc44.x86_64
-    
-      # nm -D /usr/lib64/libc.so.6 | grep -w openat2
-      00000000000eb890 W openat2@@GLIBC_2.43
-    
-      # make -C testcase/kernel/syscalls/openat2
-      openat201.c:27:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct open_how’
-        27 |         {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
-    
-    Define _GNU_SOURCE and include <fcntl.h> in openat2 tests to make the
-    prototype available and fix the build.
-    
-    Signed-off-by: Li Wang <liwang@redhat.com>
-    Reviewed-by: Petr Vorel <pvorel@suse.cz>
-
-diff --git a/testcases/kernel/syscalls/openat2/openat201.c b/testcases/kernel/syscalls/openat2/openat201.c
-index ecd63b150..40ac2f6d9 100644
---- a/testcases/kernel/syscalls/openat2/openat201.c
-+++ b/testcases/kernel/syscalls/openat2/openat201.c
-@@ -4,6 +4,9 @@
-  *
-  * Basic openat2() test.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"
-diff --git a/testcases/kernel/syscalls/openat2/openat202.c b/testcases/kernel/syscalls/openat2/openat202.c
-index 6d1b5a67c..329c6a4a5 100644
---- a/testcases/kernel/syscalls/openat2/openat202.c
-+++ b/testcases/kernel/syscalls/openat2/openat202.c
-@@ -4,6 +4,9 @@
-  *
-  * openat2() tests with various resolve flags.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"
-diff --git a/testcases/kernel/syscalls/openat2/openat203.c b/testcases/kernel/syscalls/openat2/openat203.c
-index 6ac49ef4c..cd0c00d75 100644
---- a/testcases/kernel/syscalls/openat2/openat203.c
-+++ b/testcases/kernel/syscalls/openat2/openat203.c
-@@ -4,6 +4,9 @@
-  *
-  * Basic openat2() test to check various failures.
-  */
-+#define _GNU_SOURCE
-+#include <fcntl.h>
-+
- #include "tst_test.h"
- #include "lapi/openat2.h"