glibc/csu
Florian Weimer e7570f4131 Replace __libc_multiple_libcs with __libc_initial flag
Change sbrk to fail for !__libc_initial (in the generic
implementation).  As a result, sbrk is (relatively) safe to use
for the __libc_initial case (from the main libc).  It is therefore
no longer necessary to avoid using it in that case (or updating the
brk cache), and the __libc_initial flag does not need to be updated
as part of dlmopen or static dlopen.

As before, direct brk system calls on Linux may lead to memory
corruption.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-12-16 15:13:40 +01:00
..
abi-note.c
check_fds.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
dso_handle.c
elf-init.c
errno-loc.c
errno.c
gmon-start.c
init-first.c Replace __libc_multiple_libcs with __libc_initial flag 2020-12-16 15:13:40 +01:00
init.c
libc-start.c Replace __libc_multiple_libcs with __libc_initial flag 2020-12-16 15:13:40 +01:00
libc-tls.c nptl: Move stack list variables into _rtld_global 2020-11-16 19:33:30 +01:00
Makefile
start.c
static-reloc.c
sysdep.c
version.c
Versions