cvs commit: src/libexec/rtld-elf rtld.c

Colin Percival cperciva at FreeBSD.org
Thu Mar 24 02:12:30 PST 2005


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


More information about the cvs-src mailing list