svn commit: r362528 - stable/11/libexec/rtld-elf

Konstantin Belousov kib at FreeBSD.org
Tue Jun 23 03:32:21 UTC 2020


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)) {


More information about the svn-src-all mailing list