dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
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(-)
Comments
On Aug 04 2022, Florian Weimer via Libc-alpha wrote:
> Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move
> dlopen into libc").
Ok.
@@ -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 *