Blame SOURCES/glibc-rh2023422-3.patch
|
|
2be09a |
commit f1eeef945d49c72eb13654bd30b5904e89b4626f
|
|
|
2be09a |
Author: Florian Weimer <fweimer@redhat.com>
|
|
|
2be09a |
Date: Fri Dec 10 21:34:30 2021 +0100
|
|
|
2be09a |
|
|
|
2be09a |
elf: Use errcode instead of (unset) errno in rtld_chain_load
|
|
|
2be09a |
|
|
|
2be09a |
diff --git a/elf/rtld.c b/elf/rtld.c
|
|
|
2be09a |
index 6b0d6107801b2f44..6bbb373c5743cb99 100644
|
|
|
2be09a |
--- a/elf/rtld.c
|
|
|
2be09a |
+++ b/elf/rtld.c
|
|
|
2be09a |
@@ -1143,7 +1143,7 @@ rtld_chain_load (struct link_map *main_map, char *argv0)
|
|
|
2be09a |
rtld_soname, pathname, errname);
|
|
|
2be09a |
else
|
|
|
2be09a |
_dl_fatal_printf("%s: cannot execute %s: %d\n",
|
|
|
2be09a |
- rtld_soname, pathname, errno);
|
|
|
2be09a |
+ rtld_soname, pathname, errcode);
|
|
|
2be09a |
}
|
|
|
2be09a |
|
|
|
2be09a |
static void
|