mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Versions | ||
| abi-note.c | ||
| check_fds.c | ||
| dso_handle.c | ||
| elf-init.c | ||
| errno-loc.c | ||
| errno.c | ||
| gmon-start.c | ||
| init-first.c | ||
| init.c | ||
| libc-start.c | ||
| libc-tls.c | ||
| start.c | ||
| static-reloc.c | ||
| sysdep.c | ||
| version.c | ||