Emacs' unexec() creates a new executable with a zero size bss, whose data
segment contains the original data plus the stuff from bss at the time
that unexec was called. The new executable starts at main(), and (as far
as I know) heap and stack contents are *not* saved. So, it isn't suitable
for checkpointing.
That said, does anybody know if there exists a Linux utility that is
suitable for checkpointing?
John Regehr