tech-userlevel archive

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

Re: static pie support for x86 (from OpenBSD)



In article <20170531075959.GA18383%mail.duskware.de@localhost>,
Martin Husemann  <martin%duskware.de@localhost> wrote:
>On Tue, May 30, 2017 at 05:38:33PM -0400, Christos Zoulas wrote:
>> I ported OpenBSD's static pie support to x86. Here's what it looks like.
>> I left some debugging stuff in the csu Makefile that needs cleanup?
>> Opinions? Should I add it?
>
>This functionality is nice to have!
>Why is the kernel change needed?

To pass in the base of the binary since it could be loaded anywhere because
of ASLR.

christos



Home | Main Index | Thread Index | Old Index