public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
@ 2022-08-04  6:50 Florian Weimer
  2022-08-04 15:34 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2022-08-04  6:50 UTC (permalink / raw)
  To: libc-alpha

Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move
dlopen into libc").

Tested on i686-linux-gnu and x86_64-linux-gnu.

---
 dlfcn/dlopen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c
index 2696dde4b1..9b07b4e132 100644
--- a/dlfcn/dlopen.c
+++ b/dlfcn/dlopen.c
@@ -90,7 +90,7 @@ compat_symbol (libdl, ___dlopen, dlopen, GLIBC_2_1);
 void *
 __dlopen (const char *file, int mode, void *dl_caller)
 {
-  return dlopen_implementation (file, mode, RETURN_ADDRESS (0));
+  return dlopen_implementation (file, mode, dl_caller);
 }
 
 void *


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
  2022-08-04  6:50 [PATCH] dlfcn: Pass caller pointer to static dlopen implementation (bug 29446) Florian Weimer
@ 2022-08-04 15:34 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2022-08-04 15:34 UTC (permalink / raw)
  To: Florian Weimer via Libc-alpha; +Cc: Florian Weimer

On Aug 04 2022, Florian Weimer via Libc-alpha wrote:

> Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move
> dlopen into libc").

Ok.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-04 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04  6:50 [PATCH] dlfcn: Pass caller pointer to static dlopen implementation (bug 29446) Florian Weimer
2022-08-04 15:34 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).