Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Note that we now search DT_RUNPATH paths a...



details:   https://anonhg.NetBSD.org/src/rev/27adb24159e5
branches:  trunk
changeset: 450445:27adb24159e5
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Apr 14 20:27:02 2019 +0000

description:
Note that we now search DT_RUNPATH paths as well.

diffstat:

 libexec/ld.elf_so/ld.elf_so.1 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r e6fba965c725 -r 27adb24159e5 libexec/ld.elf_so/ld.elf_so.1
--- a/libexec/ld.elf_so/ld.elf_so.1     Sun Apr 14 19:25:27 2019 +0000
+++ b/libexec/ld.elf_so/ld.elf_so.1     Sun Apr 14 20:27:02 2019 +0000
@@ -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 @@
 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 @@
 .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:



Home | Main Index | Thread Index | Old Index