freebsd-skq/libexec/rtld-elf
kan ad15dd0347 Make sure internal rtld malloc routines are not called from unlocked
contexts as rtld's malloc is not thread safe and is only supposed to be
called with exclusive bind lock already held.

The originating PR submitted a patch on top of different pre-requisite
workaroud for unsafe dlopen calls, and the patch was midief slighlty to apply
to stock sources for the purpose of this commit. Running rtld malloc from
unlocked contexts is a bug on its own.

PR: 126950
Submited by: Oleg Dolgov
2008-09-03 01:05:32 +00:00
..
amd64
arm
i386 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
ia64 We don't need --export-dynamic for ld-elf.so.1, because it's a 2007-05-16 23:19:51 +00:00
mips MFp4: Add mips support for dynamic linking. 2008-04-04 20:59:26 +00:00
powerpc Include an extra header to get a function prototype. 2007-11-19 08:58:11 +00:00
sparc64 For un-prototyped static inline functions declared in pthread_md.h on 2007-12-01 14:24:44 +00:00
debug.c
debug.h
libmap.c
libmap.h
Makefile Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00
malloc.c
map_object.c Implement dl_iterate_phdr function. 2007-04-03 18:31:20 +00:00
rtld_lock.c Fix the problem with the C++ exception handling for the multithreaded 2008-05-06 09:27:41 +00:00
rtld_lock.h Fix the problem with the C++ exception handling for the multithreaded 2008-05-06 09:27:41 +00:00
rtld_tls.h
rtld.1 Make the meaning of the %A format specifier, as passed to 2008-05-15 10:47:14 +00:00
rtld.c Make sure internal rtld malloc routines are not called from unlocked 2008-09-03 01:05:32 +00:00
rtld.h MFp4: Add mips support for dynamic linking. 2008-04-04 20:59:26 +00:00
Symbol.map Add r_debug_state to the list of symbols exported from rtld. GDB needs to 2007-07-11 23:07:37 +00:00
xmalloc.c