]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Fix map_complete Systemtap probe in dl_open_worker
authorFlorian Weimer <fweimer@redhat.com>
Fri, 25 Oct 2024 15:41:53 +0000 (17:41 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 18 Aug 2025 11:12:01 +0000 (13:12 +0200)
The refactoring did not take the change of variable into account.
Fixes commit 43db5e2c0672cae7edea7c9685b22317eae25471
("elf: Signal RT_CONSISTENT after relocation processing in dlopen
(bug 31986)").

(cherry picked from commit ac73067cb7a328bf106ecd041c020fc61be7e087)

elf/dl-open.c

index 88e8ad8d3abcdd44043e68d4cdb1926706313a32..bd15f5f6a446115d8c699ac6639a3fc34d39f712 100644 (file)
@@ -792,7 +792,7 @@ dl_open_worker (void *a)
 #endif
        r->r_state = RT_CONSISTENT;
        _dl_debug_state ();
-       LIBC_PROBE (map_complete, 3, nsid, r, new);
+       LIBC_PROBE (map_complete, 3, nsid, r, args->map);
 
 #ifdef SHARED
        if (was_not_consistent)