Re:Removing support for Emacs unexec from Glibc
by _yosefk on Saturday January 30, 2016 @12:29PM
(#11002748)
Actually, having a generic way of saving the program state into an executable that then runs from that point could be really useful, and some Unix versions had it (and Perl used a Unix utility called undump to implement a "Perl compiler" where it dumped core that could be "undumped" into a running program later; that's the same idea as "unexecing" program state into an executable.)
[ Parent
| on HN ]
Re:Removing support for Emacs unexec from Glibc
by Freaky on Saturday January 30, 2016 @02:22PM
(#11003297)
It's notable that the Solaris unexec() implementation[1] is basically a thin wrapper around dldump()[2].
1: http://git.savannah.gnu.org/cgit/emacs.git/tree/src/unexsol....
2: https://docs.oracle.com/cd/E19455-01/806-0627/6j9vhfmop/inde...
Re:Removing support for Emacs unexec from Glibc
by protopete on Saturday January 30, 2016 @12:32PM
(#11002767)
I logged in to say the same thing. More info here: http://perldoc.perl.org/functions/dump.html