Extend LD_UTRACE by also generating utrace(2) log events for runtime linker
errors.
MFC after: 1 week
Differential D9347
Log and report rtld error messages via utrace(2)/ktrace(1). peterj on Jan 26 2017, 7:27 AM. Authored by Tags None Referenced Files
Subscribers
Details Extend LD_UTRACE by also generating utrace(2) log events for runtime linker MFC after: 1 week Compile the following code and execute with LD_UTRACE=yes ktrace ./a.out ; kdump -t u Note the inclusion of error messages. #include <dlfcn.h> int main(int argc, char **argv) if (dlsym(NULL, "symbol_missing") != NULL) errx(1, "Found unexpected symbol"); return (0); }
Diff Detail
|