[an error occurred while processing this directive]
[an error occurred while processing this directive]
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Jul 2013 11:00:03 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Cc: Timo Teräs <timo.teras@....fi>
Subject: Re: [PATCH 3/3] [FYI] fix dynamic linker dso loading

On Wed, Jul 10, 2013 at 04:39:01PM +0300, Timo Teräs wrote:
> The phdr entries need to be allocated from heap, so later calls
> to dl_iterate_phdr work properly. Make sure the ARM unwind info
> is not freed.

I am confused about the motivation for this patch. The program headers
are part of the mapping and are never freed.

> This is not exactly intended to be committed, but shows clearly
> what is wrong with the current implementation.

Not so clear. :)

> The reclamation fix should be probably something better, as I believe
> the same applies to GNU_EH_FRAME phdr.

It definitely does not apply to GNU_EH_FRAME.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.