Re: [PATCH 1/1] multipath-tools: update third-party valgrind headers to v3.28

Xose Vazquez Perez <[email protected]>
Newsgroups dev.linux.lists.dm-devel
Message-ID <[email protected]>
On 6/11/26 12:09 AM, Benjamin Marzinski wrote:

> On Mon, Jun 08, 2026 at 10:55:47AM +0200, Xose Vazquez Perez wrote:

>>   third-party/valgrind/drd.h      |    6 +-
>>   third-party/valgrind/valgrind.h | 1182 +++++++++++++++++++++++++++++--
>>   2 files changed, 1138 insertions(+), 50 deletions(-)

> Is valgrind 3.28 released yet? I only see 3.27.1.
The files in this patch were updated using the official valgrind upstream
git repo, rather than a specific tarball release.

The only difference is:

--- ./valgrind-3.27.1/include/valgrind.h.in	2026-02-18 13:16:39.000000000 +0100
+++ ./valgrind.git/include/valgrind.h.in	2026-06-11 17:10:32.219080399 +0200
@@ -7173,6 +7173,7 @@ typedef
            VG_USERREQ__DISCARD_TRANSLATIONS     = 0x1002,
            VG_USERREQ__VALGRIND_REPLACES_MALLOC = 0x1003,
            VG_USERREQ__VALGRIND_GET_TOOLNAME    = 0x1004,
+          VG_USERREQ__VALGRIND_RUNNING_VERSION = 0x1005,

            /* These allow any function to be called from the simulated
               CPU but run on the real CPU.  Nb: the first arg passed to
@@ -7299,6 +7300,15 @@ typedef
                                      (zzbuflen),                        \
                                      0, 0, 0)

+/* Returns the Valgrind version that this code is running under.
+   Returns 0 if not running on Valgrind. The version number is expressed
+   as a decimal number: Mmm where M is the major and mm the minor
+   version of Valgrind e.g. 328 for version 3.28. */
+#define VALGRIND_RUNNING_VERSION                                           \
+    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* if not */,              \
+                                    VG_USERREQ__VALGRIND_RUNNING_VERSION,  \
+                                    0, 0, 0, 0, 0)                         \
+
  #define VALGRIND_INNER_THREADS(_qzz_addr)                               \
     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__INNER_THREADS,           \
                                     _qzz_addr, 0, 0, 0, 0)
8<---

and it is harmless.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.