Note that we now search DT_RUNPATH paths as well.
This commit is contained in:
parent
5377f92471
commit
9a04775cfa
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: ld.elf_so.1,v 1.17 2017/07/03 21:35:48 wiz Exp $
|
||||
.\" $NetBSD: ld.elf_so.1,v 1.18 2019/04/14 20:27:02 maya Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -27,7 +27,7 @@
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd December 17, 2010
|
||||
.Dd April 15, 2019
|
||||
.Dt LD.ELF_SO 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -81,8 +81,8 @@ A user defined list of paths as specified in LD_LIBRARY_PATH and
|
||||
The use of ld.so.conf should be avoided as the setting of a global search
|
||||
path can present a security risk.
|
||||
.It
|
||||
A list of paths specified within a shared object using a DT_RPATH entry in
|
||||
the dynamic section.
|
||||
A list of paths specified within a shared object using the DT_RPATH and
|
||||
DT_RUNPATH entries in the dynamic section.
|
||||
This is defined at shared object link time.
|
||||
.It
|
||||
The list of default paths which is set to
|
||||
@ -91,8 +91,8 @@ The list of default paths which is set to
|
||||
.Pp
|
||||
Dynamic loading via
|
||||
.Xr dlopen 3
|
||||
uses the DT_RPATH entries of the main binary, independently of which object
|
||||
the call came from.
|
||||
uses the DT_RPATH and DT_RUNPATH entries of the main binary, independently of
|
||||
which object the call came from.
|
||||
.Pp
|
||||
.Nm
|
||||
will expand the following variables if present in the paths:
|
||||
|
Loading…
x
Reference in New Issue
Block a user