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 Rewrite abi-note.S in C. 2020-07-08 15:02:37 +01:00
check_fds.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
dso_handle.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elf-init.c Introduce <elf-initfini.h> and ELF_INITFINI for all architectures 2020-02-18 15:12:25 +01:00
errno-loc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
errno.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gmon-start.c Introduce <elf-initfini.h> and ELF_INITFINI for all architectures 2020-02-18 15:12:25 +01:00
init-first.c Replace __libc_multiple_libcs with __libc_initial flag 2020-12-16 15:13:40 +01:00
init.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
start.c More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
static-reloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysdep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
version.c Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
Versions Remove unused %include lines from Versions files. 2014-02-22 00:58:54 -08:00