1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00
freebsd/libexec/rtld-elf
Konstantin Belousov 73dddffc31 crt_malloc: more accurate handling of mmap(2) failure
Reset both pagepool_start and pagepool_end after a mmap(2) failure,
to avoid using invalid pagepool either for allocation or munmap(2).

PR:	259076
Noted by:	Denis Koreshkov <dynamic-wind@mail.ru>
Reviewed by:	arichardson
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32514
2021-10-19 01:02:47 +03:00
..
aarch64 rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
amd64 rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
arm rtld: rework how environment variables are named 2021-08-17 15:05:46 +03:00
i386 rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
mips rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
powerpc rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
powerpc64 rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
riscv rtld: Remove calculate_tls_end 2021-08-16 13:55:35 +03:00
rtld-libc rtld: provide private getenv(3) 2021-08-17 15:05:47 +03:00
tests rtld/tests: Avoid function name conflict with libc opendir() 2021-07-06 10:51:57 +01:00
debug.c
debug.h
libmap.c rtld: constify most variables holding references to the environment values 2021-08-17 15:06:08 +03:00
libmap.conf
libmap.h rtld: constify most variables holding references to the environment values 2021-08-17 15:06:08 +03:00
Makefile rtld: Do not install libmap.conf when installing the COMPAT32 version 2021-10-13 14:42:08 +02:00
Makefile.depend
map_object.c rtld: Round down relro_size 2021-08-13 12:58:53 +03:00
paths.h
rtld_lock.c rtld: initialize default dlerror_seen_val as true 2021-05-13 02:31:29 +03:00
rtld_lock.h rtld_lock.h: add some comments about versioning of struct RtldLockInfo 2021-04-11 11:16:13 +03:00
rtld_malloc.c crt_malloc: more accurate handling of mmap(2) failure 2021-10-19 01:02:47 +03:00
rtld_malloc.h
rtld_printf.c
rtld_printf.h
rtld_tls.h
rtld_utrace.h
rtld.1 rtld direct exec: add -d option 2021-10-13 03:41:48 +03:00
rtld.c rtld: Support DT_RELR relative relocation format 2021-10-17 02:37:13 +03:00
rtld.h rtld: Support DT_RELR relative relocation format 2021-10-17 02:37:13 +03:00
Symbol.map rtld dl_iterate_phdr(): dlpi_tls_data is wrong 2021-04-06 03:23:08 +03:00
xmalloc.c