Flag the checkpoint descriptor so on restore we can identify it and use the
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 29 Jun 2007 23:40:00 +0000 (23:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 29 Jun 2007 23:40:00 +0000 (23:40 +0000)
commitff7a3478df3f84d7c8612b258cd031d110195d38
tree70799de690137b6da14938f6473736e43a7e4817
parent936f18967273b7f7ddeb259a45f001b165cd42db
Flag the checkpoint descriptor so on restore we can identify it and use the
descriptor for the restore rather then trying to look up the original
checkpoint file.  This issue occurs when a program calls sys_checkpoint()
manually.

This allows a checkpoint-resume to be done on a copied checkpoint file,
or a gzipped (then gunzipped) checkpoint file, etc.  The original checkpoint
file no longer needs to remain intact.

Requested-by: _why <why@ruby-lang.org>
sys/kern/imgact_elf.c
sys/kern/kern_checkpoint.c
sys/sys/ckpt.h