[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23529: Request for fixing randomize_va_space build issues
From: |
Eli Zaretskii |
Subject: |
bug#23529: Request for fixing randomize_va_space build issues |
Date: |
Wed, 07 Sep 2016 17:21:58 +0300 |
> Cc: p.stephani2@gmail.com, philippe.vaucher@gmail.com, 23529@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Tue, 6 Sep 2016 13:37:20 -0700
>
> On 09/06/2016 12:18 PM, Eli Zaretskii wrote:
> > Then users on those platforms will never be able to re-dump.
>
> True. But they'll still be better off than they are now, since they
> can't dump at all now. Plus, for extra credit we could dynamically link
> the dumped object modules at Emacs startup, with the idea of making it
> practical to re-dump.
That would be good, thanks. I still think we should consider
approaches that don't require a compiler.
> The compiler-based approach should be simpler and more portable than
> messing with low-level binary I/O.
You mean, 'read' and 'write'? That's hardly problematic, and is
available on all supported platforms. Even 'mmap' is reasonably
portable.
> 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?
- bug#23529: Request for fixing randomize_va_space build issues, (continued)
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/06
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/06
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/06
- bug#23529: Request for fixing randomize_va_space build issues, Philippe Vaucher, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Philipp Stephani, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues,
Eli Zaretskii <=
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/07
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/09
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/09
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/09
- bug#23529: Request for fixing randomize_va_space build issues, Paul Eggert, 2016/09/09
- bug#23529: Request for fixing randomize_va_space build issues, Eli Zaretskii, 2016/09/09