git: 5d6adc09cfb5 - stable/13 - rtld: output rtld errors into the dbg channel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Sep 2023 08:32:10 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5d6adc09cfb50f7c08b33ab2e8fbe73af7ba609e commit 5d6adc09cfb50f7c08b33ab2e8fbe73af7ba609e 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:49 +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 888586cf876d..ac492b1071f0 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1077,6 +1077,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()); }