diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-04-26 10:41:43 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-04-26 10:41:43 -0300 |
commit | 81b49e969233ac5b9faf5c043bb0cc64bf9d6271 (patch) | |
tree | 5cd448f269f2206f15da2af3995e13be3bbfd2ec /ChangeLog | |
parent | 7d80f48e93508476d0d17d368b34b28cd5dda2a5 (diff) | |
download | glibc-81b49e969233ac5b9faf5c043bb0cc64bf9d6271.tar glibc-81b49e969233ac5b9faf5c043bb0cc64bf9d6271.tar.gz glibc-81b49e969233ac5b9faf5c043bb0cc64bf9d6271.tar.bz2 glibc-81b49e969233ac5b9faf5c043bb0cc64bf9d6271.zip |
Increase robustness of internal dlopen() by using RTLD_NOW [BZ #22766]
Prevent random runtime crashes due to missing symbols caused by mixed
libnss_* versions.
[BZ #22766]
* include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
* sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
__libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
* sysdeps/nptl/unwind-forcedunwind.c: Likewise.
Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> + + [BZ #22766] + * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW. + * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace + __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen. + * sysdeps/nptl/unwind-forcedunwind.c: Likewise. + 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff |