[PATCH] Load audit modules in context of main map

Andreas Schwab schwab@redhat.com
Mon Jan 10 10:45:00 GMT 2011


Ulrich Drepper <drepper@gmail.com> writes:

> On Thu, Dec 16, 2010 at 03:42, Andreas Schwab <schwab@redhat.com> wrote:
>> 2010-12-15  Andreas Schwab  <schwab@redhat.com>
>>
>>        * elf/dl-open.c (dl_open_worker): Always use main map for audit
>>        modules.
>
> What's the reason?

$ LD_AUDIT=/\$LIB/foo cat
Inconsistency detected by ld.so: dl-load.c: 331: expand_dynamic_string_token: Assertion `(l)->l_name[0] == '\0'' failed!

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Libc-hacker mailing list