Module Name:    src
Committed By:   maya
Date:           Sun Apr 14 20:27:02 UTC 2019

Modified Files:
        src/libexec/ld.elf_so: ld.elf_so.1

Log Message:
Note that we now search DT_RUNPATH paths as well.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/libexec/ld.elf_so/ld.elf_so.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/ld.elf_so.1
diff -u src/libexec/ld.elf_so/ld.elf_so.1:1.17 src/libexec/ld.elf_so/ld.elf_so.1:1.18
--- src/libexec/ld.elf_so/ld.elf_so.1:1.17	Mon Jul  3 21:35:48 2017
+++ src/libexec/ld.elf_so/ld.elf_so.1	Sun Apr 14 20:27:02 2019
@@ -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 specifie
 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 t
 .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:

Reply via email to