|
From: | Paul Eggert |
Subject: | bug#23529: Request for fixing randomize_va_space build issues |
Date: | Wed, 7 Sep 2016 09:11:31 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Eli Zaretskii wrote:
The compiler-based approach should be simpler and more portable than messing with low-level binary I/O.You mean, 'read' and 'write'?
I meant all the other stuff associated with the I/O.
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. And with modules, we also have code to dump.
[Prev in Thread] | Current Thread | [Next in Thread] |