diff options
author | delphij <delphij@FreeBSD.org> | 2009-03-23 16:49:00 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-03-23 16:49:00 +0000 |
commit | 63c651080ec8845c46df852316aaabb4848ba4b1 (patch) | |
tree | 6a0f47ffd12c3cf50487ad27b0f44039adfca76e /libexec/rtld-elf/rtld.1 | |
parent | 7e0f7398ba9967462bbada5db3f2e4e9de7632aa (diff) | |
download | FreeBSD-src-63c651080ec8845c46df852316aaabb4848ba4b1.zip FreeBSD-src-63c651080ec8845c46df852316aaabb4848ba4b1.tar.gz |
Support for a new environment variable, LD_ELF_HINTS_PATH for overriding
the rtld hints file. This environment variable would be unset if the
process is considered as tainted with setuid/setgid. This feature gives
a convenient way of using a custom set of shared library that is not
located in the default location and switch back.
Feature requested by: iXsystems
Original patch by: John Hixson
MFC after: 2 weeks
Diffstat (limited to 'libexec/rtld-elf/rtld.1')
-rw-r--r-- | libexec/rtld-elf/rtld.1 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index 011a693..81f3685 100644 --- a/libexec/rtld-elf/rtld.1 +++ b/libexec/rtld-elf/rtld.1 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 15, 2008 +.Dd March 23, 2009 .Dt RTLD 1 .Os .Sh NAME @@ -116,6 +116,11 @@ If set, disables the use of and .Ev LD_LIBMAP . This variable is unset for set-user-ID and set-group-ID programs. +.It Ev LD_ELF_HINTS_PATH +This variable will override the default location of +.Dq hints +file. +This variable is unset for set-user-ID and set-group-ID programs. .It Ev LD_LIBRARY_PATH A colon separated list of directories, overriding the default search path for shared libraries. |