From ac73067cb7a328bf106ecd041c020fc61be7e087 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Oct 2024 17:41:53 +0200 Subject: [PATCH] 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)"). --- elf/dl-open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/dl-open.c b/elf/dl-open.c index ec0145879e..1d943dfbc3 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -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)