Date: Thu, 24 Mar 2005 10:12:29 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf rtld.c Message-ID: <200503241012.j2OACTAN031831@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2005-03-24 10:12:29 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf rtld.c
Log:
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
Revision Changes Path
1.105 +24 -1 src/libexec/rtld-elf/rtld.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503241012.j2OACTAN031831>
