From: Florian Weimer Date: Fri, 25 Oct 2024 15:41:53 +0000 (+0200) Subject: elf: Fix map_complete Systemtap probe in dl_open_worker X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9bd6f386912ef1dbc0434d7cc03eae5ded86181;p=thirdparty%2Fglibc.git elf: Fix map_complete Systemtap probe in dl_open_worker 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) --- diff --git a/elf/dl-open.c b/elf/dl-open.c index 88e8ad8d3a..bd15f5f6a4 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -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)