Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2020 03:32:20 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r362528 - stable/11/libexec/rtld-elf
Message-ID:  <202006230332.05N3WKtw076083@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Jun 23 03:32:20 2020
New Revision: 362528
URL: https://svnweb.freebsd.org/changeset/base/362528

Log:
  MFC r362250:
  rtld: Add debug line for dlopen_object().

Modified:
  stable/11/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/11/libexec/rtld-elf/rtld.c	Tue Jun 23 03:31:34 2020	(r362527)
+++ stable/11/libexec/rtld-elf/rtld.c	Tue Jun 23 03:32:20 2020	(r362528)
@@ -3364,6 +3364,9 @@ dlopen_object(const char *name, int fd, Obj_Entry *ref
     RtldLockState mlockstate;
     int result;
 
+    dbg("dlopen_object name \"%s\" fd %d refobj \"%s\" lo_flags %#x mode %#x",
+      name != NULL ? name : "<null>", fd, refobj == NULL ? "<null>" :
+      refobj->path, lo_flags, mode);
     objlist_init(&initlist);
 
     if (lockstate == NULL && !(lo_flags & RTLD_LO_EARLY)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006230332.05N3WKtw076083>