git: 3f3c631da0ab - stable/14 - rtld: output rtld errors into the dbg channel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Sep 2023 08:31:37 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3f3c631da0ab6834c5b4a3e3d8c3ff98a4ad51aa commit 3f3c631da0ab6834c5b4a3e3d8c3ff98a4ad51aa Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-09-15 19:26:50 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-09-19 08:31:24 +0000 rtld: output rtld errors into the dbg channel (cherry picked from commit 72d97e1dd9cc72a2acb96e35e56db6f3f51bca7d) --- 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()); }