]> sourceware.org Git - 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>
Fri, 25 Oct 2024 15:43:55 +0000 (17:43 +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)").

elf/dl-open.c

index ec0145879eadc6ee64c37fcb31118d852ba2163a..1d943dfbc39cf977d00b1800ffaf7bf2a1b97582 100644 (file)
@@ -781,7 +781,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)
This page took 0.03972 seconds and 5 git commands to generate.