freebsd-dev/libexec/rtld-elf
Colin Percival 8fe7df9b68 If "dangerous" environment variables (LD_PRELOAD, LD_LIBMAP,
LD_LIBMAP_DISABLE, LD_LIBRARY_PATH) are used, then make sure the
libraries being loaded aren't on a noexec-mounted filesystem.

This is a compromise position: I'm assuming that nobody will be silly
enough to set the noexec mount flag on part of the default library
path, in order to avoid adding extra overhead into the common case
(where those environment variables aren't used).

Discussed with:	csjp, secteam
MFC after:	1 week
2005-03-24 10:12:29 +00:00
..
alpha Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
amd64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
arm Only provide the dummy, non-atomic atomic_cmpset_32() if 2005-02-26 22:49:19 +00:00
i386 Remove 80386 support from the ELF run time linker. 2004-11-16 20:45:51 +00:00
ia64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
powerpc Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
sparc64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
debug.c Fix warnings on 64 bit platforms. 2003-06-19 16:09:18 +00:00
debug.h Add initial support for compiling a special 32 bit version of 2004-03-21 01:21:26 +00:00
libmap.c Description from Dan: 2005-02-04 02:46:41 +00:00
libmap.h Description from Dan: 2005-02-04 02:46:41 +00:00
Makefile So do it like we do in usr.bin/tip/tip/Makefile. ;) 2004-11-14 22:18:31 +00:00
malloc.c Very minor style nit: sort include files alphabetically. 2003-08-22 02:22:59 +00:00
map_object.c Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
rtld_lock.c Remove 80386 support from the ELF run time linker. 2004-11-16 20:45:51 +00:00
rtld_lock.h Fix warnings; no parameters in function prototypes. 2003-06-19 02:39:37 +00:00
rtld_tls.h Add support for Thread Local Storage. 2004-08-03 08:51:00 +00:00
rtld.1 Description from Dan: 2005-02-04 02:46:41 +00:00
rtld.c If "dangerous" environment variables (LD_PRELOAD, LD_LIBMAP, 2005-03-24 10:12:29 +00:00
rtld.h Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
xmalloc.c Add function prototypes. 2003-06-19 05:28:26 +00:00