4 ms·
Does it have unexec? cf. http://emacshorrors.com/posts/unexecute.html http://emacshorrors.com/posts/unexecute.html
by euske 8y ago
Does it have unexec?
cf. http://emacshorrors.com/posts/unexecute.html http://emacshorrors.com/posts/unexecute.html
- geofft 8y agoWait, what's the reason for preventing a dumped and reloaded emacs from being re-dumped?
- tedunangst 8y agoAs linked, it's mostly incompatible with ASLR. If you were to undump to a different address, all the pointers break.
- geofft 8y agoWhy doesn't that affect the initial dump/unexec? (Or in other words - if the answer is that ASLR is turned off for either initial exec or reexec, why not keep it turned off so that a third exec works?)
- tedunangst 8y agoOh, it does. Sorry, I missed the point about the double dump. No clue about that. I'm happy not knowing.
- lokedhs 8y agoEmacs has finally gotten rid of unexec. It's replaced by the portable dumper which which essentially serialised the state of the application using its own format.
- testcross 8y agoIf I remember correctly, the same kind of hack is used by atom to allow fast startup.
- gpm 8y agoAssuming this issue is up to date - yes, but it's on the todo list to remove: https://github.com/remacs/remacs/issues/105 https://github.com/remacs/remacs/issues/105