mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Jeffrey Walton <noloader@gmail.com>
Cc: musl@lists.openwall.com,  Colin Cross <ccross@google.com>
Subject: Re: [musl] [PATCH] dl_iterate_phdr: return empty string for the name of the main program
Date: Mon, 11 Apr 2022 14:46:10 +0200	[thread overview]
Message-ID: <87tuazlre5.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <CAH8yC8kkiOdjt1TOGgt=Jo9u=mpvzCJ9vw=FG5ZF80urtJNhXg@mail.gmail.com> (Jeffrey Walton's message of "Mon, 11 Apr 2022 08:24:21 -0400")

* Jeffrey Walton:

> I may be splitting hairs, but the dl_iterate_phdr(3) man page does not
> say a program is returned during the enumeration. It says shared
> objects are returned.

The libgcc unwinder assumes the main program is covered by the
iteration.  It won't work otherwise.

Thanks,
Florian


  parent reply	other threads:[~2022-04-11 12:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05  3:18 Colin Cross
2022-04-05  3:57 ` Michael Forney
2022-04-11 12:24   ` Jeffrey Walton
2022-04-11 12:42     ` Rich Felker
2022-04-11 14:03       ` Jeffrey Walton
2022-04-11 14:58         ` Rich Felker
2022-04-11 15:52         ` Colin Cross
2022-04-11 12:46     ` Florian Weimer [this message]
2022-04-05  4:43 ` Markus Wichmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuazlre5.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=ccross@google.com \
    --cc=musl@lists.openwall.com \
    --cc=noloader@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).