freebsd-skq/libexec/rtld-elf
Andriy Gapon 6014c8de1d rtld: eliminate double call to close(2) that may occur in load_object
The second close(2) call resulted in heisenbugs in some multi-threaded
applications where e.g. dlopen(3) call in one thread could close a file
descriptor for a file having been opened in other thread concurrently.

My litmus test for this issue was an openoffice.org build.

Reviewed by:	jhb
MFC after:	2 weeks
2011-03-25 18:23:10 +00:00
..
amd64 When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
arm When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
i386 When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
ia64 When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
mips When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
powerpc When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
powerpc64 Remove dead code that snuck in from the 32-bit PowerPC version of this 2011-03-07 20:32:46 +00:00
sparc64 - Add support for TLS relocations. 2011-03-11 21:08:02 +00:00
debug.c
debug.h Use C99's varadic macro syntax instead of gcc's. 2006-03-28 18:26:47 +00:00
libmap.c Fix a malloc overrun in 32-bit compat libmap lookup code. 2006-01-31 06:08:28 +00:00
libmap.h
Makefile Add a hook to pass debug flags to the build of rtld when doing make in 2010-12-25 08:42:38 +00:00
malloc.c Use the newly provided aux vectors to get pagesize and osreldate information. 2010-08-17 09:05:39 +00:00
map_object.c When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
rtld_lock.c Use sigsetjmp/siglongjmp with disabled signal mask access for 2011-02-09 09:20:27 +00:00
rtld_lock.h Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
rtld_tls.h
rtld.1 Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
rtld.c rtld: eliminate double call to close(2) that may occur in load_object 2011-03-25 18:23:10 +00:00
rtld.h Use sigsetjmp/siglongjmp with disabled signal mask access for 2011-02-09 09:20:27 +00:00
Symbol.map Remove a hack made obsolete by the binutils 2.17 merge. 2011-02-20 16:16:42 +00:00
xmalloc.c