summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormaya <maya@NetBSD.org>2019-04-14 20:27:02 +0000
committermaya <maya@NetBSD.org>2019-04-14 20:27:02 +0000
commitf19c537df45308938ccd4e0dc45afc7c0e18c105 (patch)
tree03b3d979cf07a59fc676cf6662fae9e69a70f8a8 /libexec
parentb8942591a712d395bfd61b739a1e366b04100c87 (diff)
Note that we now search DT_RUNPATH paths as well.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/ld.elf_so.112
1 files changed, 6 insertions, 6 deletions
diff --git a/libexec/ld.elf_so/ld.elf_so.1 b/libexec/ld.elf_so/ld.elf_so.1
index b2373f30438..319cb8b3dc6 100644
--- a/libexec/ld.elf_so/ld.elf_so.1
+++ b/libexec/ld.elf_so/ld.elf_so.1
@@ -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: