Subject: Re: bug#23529: Request for fixing randomize_va_space build issues

From: Eli Zaretskii <[email-masked]>
Date: Wed, 07 Sep 2016 20:10:27 +0300

> Cc: [email-masked], [email-masked], [email-masked]
> From: Paul Eggert <[email-masked]>
> Date: Wed, 7 Sep 2016 09:11:31 -0700
> 
> >> Another example: on hardened platforms with PIEs
> >> (position-independent executables), you get a PIE for free as the
> >> dumped executable, instead of having to disable PIE as we do now.
> >
> > I'm not sure how PIE is relevant: the stuff we dump, and need to load
> > into a running Emacs, is data, not code.  What am I missing?
> 
> PIE can relocate data as well as code.

Since we will be reading data into existing variables, that would
happen automatically.

> And with modules, we also have code to dump.

??? What do you mean by that?  Modules cannot be preloaded, AFAIK.