Changes

Jump to navigation Jump to search
253 bytes removed ,  07:05, 21 December 2011
Line 41: Line 41:     
# A process tree has been read from a file.
 
# A process tree has been read from a file.
# Every process started with saved (i.e. original) '''$pid''' via <code>clone()</code> call with new <code>CLONE_CHILD_USEPID</code> flag.
+
# Every process started with saved (i.e. original) '''$pid''' via <code>clone()</code> call.
 
# Files and pipes are restored (by restored it's meant - they are opened and positioned).
 
# Files and pipes are restored (by restored it's meant - they are opened and positioned).
# A new file generated. The file has an Elf format but with modified executable and program header types (telling the kernel that this particular file is not a regular Elf'oid but rather the kernel is to handle it in a slightly different way).
+
# A new memory map is created, filled with data the program had at checkpoint time.
# Finally execve with new Elf file as an argument is executed, which initiate the kernel's stage of restore procedure.
+
# Finally the program is kicked to start with rt_sigreturn system call.
    
<!--
 
<!--

Navigation menu