From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3605 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 3/3] [FYI] fix dynamic linker dso loading Date: Wed, 10 Jul 2013 11:00:03 -0400 Message-ID: <20130710150002.GZ29800@brightrain.aerifal.cx> References: <1373463541-17170-1-git-send-email-timo.teras@iki.fi> <1373463541-17170-3-git-send-email-timo.teras@iki.fi> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1373468426 11143 80.91.229.3 (10 Jul 2013 15:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jul 2013 15:00:26 +0000 (UTC) Cc: Timo =?utf-8?B?VGVyw6Rz?= To: musl@lists.openwall.com Original-X-From: musl-return-3609-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 10 17:00:28 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UwvsQ-0002VP-BK for gllmg-musl@plane.gmane.org; Wed, 10 Jul 2013 17:00:18 +0200 Original-Received: (qmail 22439 invoked by uid 550); 10 Jul 2013 15:00:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22415 invoked from network); 10 Jul 2013 15:00:16 -0000 Content-Disposition: inline In-Reply-To: <1373463541-17170-3-git-send-email-timo.teras@iki.fi> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3605 Archived-At: 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