Date: Tue, 16 Jun 2020 21:25:58 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362250 - head/libexec/rtld-elf Message-ID: <202006162125.05GLPw3g088740@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Jun 16 21:25:58 2020 New Revision: 362250 URL: https://svnweb.freebsd.org/changeset/base/362250 Log: rtld: Add debug line for dlopen_object(). Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c ============================================================================== --- head/libexec/rtld-elf/rtld.c Tue Jun 16 21:23:39 2020 (r362249) +++ head/libexec/rtld-elf/rtld.c Tue Jun 16 21:25:58 2020 (r362250) @@ -3438,6 +3438,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?202006162125.05GLPw3g088740>