svn commit: r362525 - stable/12/libexec/rtld-elf

Konstantin Belousov kib at FreeBSD.org
Tue Jun 23 03:18:08 UTC 2020


Author: kib
Date: Tue Jun 23 03:18:07 2020
New Revision: 362525
URL: https://svnweb.freebsd.org/changeset/base/362525

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

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

Modified: stable/12/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/12/libexec/rtld-elf/rtld.c	Tue Jun 23 03:17:14 2020	(r362524)
+++ stable/12/libexec/rtld-elf/rtld.c	Tue Jun 23 03:18:07 2020	(r362525)
@@ -3391,6 +3391,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