From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2640 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: dladdr() Date: Sun, 20 Jan 2013 21:03:35 -0500 Message-ID: <20130121020335.GO20323@brightrain.aerifal.cx> References: <1358206649.32505.21@driftwood> <22145EB4-CF32-4BCA-8DE6-93790F3E267F@palsenberg.com> <1358254713.32505.27@driftwood> <1358261684.3766.10.camel@6-core> <20130115184820.GA20323@brightrain.aerifal.cx> <1358334018.2170.23.camel@6-core> <20130116125119.GA27914@port70.net> <50F6B818.1070807@gmail.com> <20130116164943.GD20323@brightrain.aerifal.cx> <50F6E698.3070604@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358733828 29314 80.91.229.3 (21 Jan 2013 02:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2013 02:03:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2641-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jan 21 03:04:08 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 1Tx6k3-0006Df-HZ for gllmg-musl@plane.gmane.org; Mon, 21 Jan 2013 03:04:07 +0100 Original-Received: (qmail 25662 invoked by uid 550); 21 Jan 2013 02:03:49 -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 25651 invoked from network); 21 Jan 2013 02:03:48 -0000 Content-Disposition: inline In-Reply-To: <50F6E698.3070604@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2640 Archived-At: On Wed, Jan 16, 2013 at 06:42:48PM +0100, musl wrote: > > implementations could be seen as the "real" specification. Do you know > > what other systems like BSD do? > > > freebsd dladdr man pages defines the dli_fbase field as : > "The base address at which the shared object is > mapped into the address space of the calling > process" > > see: > http://www.unix.com/man-page/FreeBSD/3/dladdr/ Do you know what they _do_, though? Is the fbase address of the main program 0 or the lowest virtual address of the mapping? BTW is dladdr otherwise working correctly for you now? Rich