dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)

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

(cherry picked from commit ed0185e412)
This commit is contained in:
Florian Weimer 2022-08-04 17:54:48 +02:00
parent b2f32e7464
commit 875b2414cd
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -112,6 +112,7 @@ The following bugs are resolved with this release:
[29211] libc: __open_catalog is not y2038 aware
[29213] libc: gconv_parseconfdir is not y2038 aware
[29214] nptl: pthread_setcanceltype fails to set type
[29446] _dlopen now ignores dl_caller argument in static mode
Version 2.34

View File

@ -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 *