git: 72d97e1dd9cc - main - rtld: output rtld errors into the dbg channel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Sep 2023 19:40:59 UTC
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()); }