1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00
freebsd/libexec/rtld-elf
Konstantin Belousov 750b5e3134 Restore the writing of the .bss sections of the dsos (not the main
executable) after r190885. The whole region for the dso is mmaped with
MAP_NOCORE flag, doing only mprotect(2) over .bss prevented it from
writing .bss to core files.

Revert the optimization of using mprotect(2) to establish .bss, overlap
the section with mmap(2).

Reported by:	attilio
Reviewed by:	attilio, emaste
Approved by:	re (bz)
MFC after:	2 weeks
2011-09-20 21:49:54 +00:00
..
amd64
arm
i386
ia64
mips
powerpc
powerpc64
sparc64
debug.c Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
debug.h
libmap.c
libmap.h
Makefile Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
malloc.c Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
map_object.c Restore the writing of the .bss sections of the dsos (not the main 2011-09-20 21:49:54 +00:00
rtld_lock.c Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
rtld_lock.h
rtld_printf.c Do not use the function pointers for the internal operation of rtld_printf() 2011-09-06 10:21:33 +00:00
rtld_printf.h Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
rtld_tls.h
rtld.1
rtld.c Use the proper dynamic tls block to calculate the tls variable address 2011-09-15 11:50:09 +00:00
rtld.h Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
Symbol.map
xmalloc.c Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00