From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3494 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: dlinfo Date: Sat, 29 Jun 2013 17:14:16 +0100 Message-ID: References: <20130629155359.GJ29800@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86e39a7f4b9304e04d499e X-Trace: ger.gmane.org 1372522469 2109 80.91.229.3 (29 Jun 2013 16:14:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 16:14:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3498-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 29 18:14:31 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 1UsxnB-00048a-Tl for gllmg-musl@plane.gmane.org; Sat, 29 Jun 2013 18:14:29 +0200 Original-Received: (qmail 7503 invoked by uid 550); 29 Jun 2013 16:14:29 -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 7493 invoked from network); 29 Jun 2013 16:14:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yF3p3jcGTPb3K3OpUhpGvruFQp8sUos/ftomGG7zCA8=; b=TFbboWYzX55RF5Kr4WvtYgwuCEJzxOF+5HaiVoqQcPZfU/SjlLfsc23YfG+4KyXmB6 PZkEMRrjG3dwtse7fuPPKtYZmuVk2IpKRYVR9nA2f1ZFj/5eKOFkDNINOnoTQIixrjjn Idg9pSDQYNSnFsul1KEtSx+MQIoTXhR29znH4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=yF3p3jcGTPb3K3OpUhpGvruFQp8sUos/ftomGG7zCA8=; b=nIdlsJmPlUttL9UmSCa4VmE2qpI9UIN/hPYRwtFp2RgcSvB0+uYYFKJCDY9x2GkLq2 TxhWWjbwhp3tA/e+Aw/o0geGqYhhq5XBPVR2Kip8uf4xNZw8CUF4y6hiOJgt6AtIszMi 4laa02n/2IgOD0fQlbVFNDTe7ouGILMvk0tW/X+YO8ZWMB664fQirEdqPKbvTitSXdTp ebMhzBc7MBvM6dogtfYm+3dxouaFh5QAkiZpgRVljR7wOv6YAZpLzUNzewYf86A0SS40 P2YSSKXUMEHrYINQavUID+7oTz1vbidw+PgjkEGTO+jnqMK87mecyYSQ4jDVVWWX2lz/ Bnmg== X-Received: by 10.66.161.195 with SMTP id xu3mr5410114pab.56.1372522457020; Sat, 29 Jun 2013 09:14:17 -0700 (PDT) In-Reply-To: <20130629155359.GJ29800@brightrain.aerifal.cx> X-Gm-Message-State: ALoCoQllIwNRqACSR3cVQsOv1NM7zg5rdAYxY1D35oQq+Fum+1PuSFyt49bx3anulXSxkMaC9CTN Xref: news.gmane.org gmane.linux.lib.musl.general:3494 Archived-At: --047d7b86e39a7f4b9304e04d499e Content-Type: text/plain; charset=UTF-8 On 29 Jun 2013 16:54, "Rich Felker" wrote: > > On Sat, Jun 29, 2013 at 04:40:17PM +0100, Justin Cormack wrote: > > Has anyone got any plans to implement dlinfo? > > I'm not opposed to it, but not sure how easy it would be. > RTLD_DI_LINKMAP looks trivial (just return the argument passed in), > but the origin and search information is stuff that's probably not > saved with the current dynamic linker implementation. Linkmap is the only bit I need actually. NetBSD apparently only implements that and not the rest, so it is not unprecedented. > Rich Justin --047d7b86e39a7f4b9304e04d499e Content-Type: text/html; charset=UTF-8


On 29 Jun 2013 16:54, "Rich Felker" <dalias@aerifal.cx> wrote:
>
> On Sat, Jun 29, 2013 at 04:40:17PM +0100, Justin Cormack wrote:
> > Has anyone got any plans to implement dlinfo?
>
> I'm not opposed to it, but not sure how easy it would be.
> RTLD_DI_LINKMAP looks trivial (just return the argument passed in),
> but the origin and search information is stuff that's probably not
> saved with the current dynamic linker implementation.

Linkmap is the only bit I need actually. NetBSD apparently only implements that and not the rest, so it is not unprecedented.

> Rich

Justin

--047d7b86e39a7f4b9304e04d499e--