Re: dl_iterate_phdr(3) needs clarification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux