Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2023 19:40:59 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 72d97e1dd9cc - main - rtld: output rtld errors into the dbg channel
Message-ID:  <202309151940.38FJexCc048494@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=72d97e1dd9cc72a2acb96e35e56db6f3f51bca7d

commit 72d97e1dd9cc72a2acb96e35e56db6f3f51bca7d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-09-15 19:26:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-09-15 19:40:41 +0000

    rtld: output rtld errors into the dbg channel
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 libexec/rtld-elf/rtld.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index aa7e6020a085..f8c4c18b5d5e 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -1073,6 +1073,7 @@ _rtld_error(const char *fmt, ...)
 	    fmt, ap);
 	va_end(ap);
 	*lockinfo.dlerror_seen() = 0;
+	dbg("rtld_error: %s", lockinfo.dlerror_loc());
 	LD_UTRACE(UTRACE_RTLD_ERROR, NULL, NULL, 0, 0, lockinfo.dlerror_loc());
 }
 



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