diff options
Diffstat (limited to 'dlfcn-Pass-caller-pointer-to-static-dlopen-implement.patch')
-rw-r--r-- | dlfcn-Pass-caller-pointer-to-static-dlopen-implement.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dlfcn-Pass-caller-pointer-to-static-dlopen-implement.patch b/dlfcn-Pass-caller-pointer-to-static-dlopen-implement.patch new file mode 100644 index 0000000..0b49ec3 --- /dev/null +++ b/dlfcn-Pass-caller-pointer-to-static-dlopen-implement.patch @@ -0,0 +1,31 @@ +From ed0185e4129130cbe081c221efb758fb400623ce Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Thu, 4 Aug 2022 17:54:48 +0200 +Subject: [PATCH] dlfcn: Pass caller pointer to static dlopen implementation + (bug 29446) + +Conflict:NA +Reference:https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ed0185e4129130cbe081c221efb758fb400623ce + +Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move +dlopen into libc"). +--- + 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 * +-- +2.27.0 + |