All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yubin Ruan <ablacktshirt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Florian Weimer <fweimer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "Michael Kerrisk (man-pages)"
	<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	vivek-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org
Subject: Re: dl_iterate_phdr(3) needs clarification
Date: Mon, 9 Oct 2017 17:13:27 +0800	[thread overview]
Message-ID: <20171009091325.GB5758@HP> (raw)
In-Reply-To: <45f4e59c-3be5-6edd-12a8-f158002dafc7-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Hi Florian,
sorry for the late reply. This mail got hidden in some secret mailbox and I
didn't discover it. sorry ;-(

On Sat, Sep 16, 2017 at 10:38:44AM +0200, Florian Weimer wrote:
> On 09/16/2017 05:28 PM, Yubin Ruan wrote:
> 
> > > The part about executables is not true.  The most common case probably is
> > > PIE executables.  You see this if you compile the modified test program with
> > > -fpie -pie on a recent enough toolchain.
> > 
> > -fpie only affect address of PT_LOAD. The one inidcated by `dlpi_addr' is
> > always 0 for an executable. Yes there is indeed some confusion, see [1].
> 
> I get this with your patched example:
> 
> Address: 0x156927e000, name: "" (9 segments)

Indeed, this still needs to be investigated some more. I will come back for
this late. Do you have any idea about the wording? I would like to hear your
understanding.

Yubin
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-10-09  9:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170915084423.GB317@HP.internal.baidu.com>
     [not found] ` <20170915084423.GB317-BUpDV9vzqx74NUO8LpiZZi+1pv2Z1Xu3@public.gmane.org>
2017-09-15  8:33   ` dl_iterate_phdr(3) needs clarification Michael Kerrisk (man-pages)
     [not found]     ` <CAKgNAkhRo04hCoYX+SCKEr7Ai0zT9HcV_z-aZhCio+CQqO+eHw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-16 12:37       ` Yubin Ruan
     [not found]         ` <20170916123659.GB13267-BUpDV9vzqx74NUO8LpiZZi+1pv2Z1Xu3@public.gmane.org>
2017-09-16 12:39           ` Yubin Ruan
2017-09-16 15:00       ` Yubin Ruan
     [not found]         ` <20170916150053.GD13267-BUpDV9vzqx74NUO8LpiZZi+1pv2Z1Xu3@public.gmane.org>
2017-09-16  8:15           ` Florian Weimer
     [not found]             ` <480b07c2-b897-b175-036a-e304b2bba2d1-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-09-16 15:28               ` Yubin Ruan
     [not found]                 ` <20170916152842.GG13267-BUpDV9vzqx74NUO8LpiZZi+1pv2Z1Xu3@public.gmane.org>
2017-09-16  8:38                   ` Florian Weimer
     [not found]                     ` <45f4e59c-3be5-6edd-12a8-f158002dafc7-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-10-09  9:13                       ` Yubin Ruan [this message]
2017-09-16 15:09           ` Yubin Ruan
     [not found]             ` <20170916150900.GE13267-BUpDV9vzqx74NUO8LpiZZi+1pv2Z1Xu3@public.gmane.org>
2017-09-16 15:23               ` Yubin Ruan

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=20171009091325.GB5758@HP \
    --to=ablacktshirt-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=fweimer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=vivek-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.