Changes

Jump to navigation Jump to search
79 bytes added ,  12:57, 13 July 2017
no edit summary
Line 3: Line 3:  
== What is it? ==
 
== What is it? ==
   −
The restorer context is the last stage of the [[Checkpoint/Restore|restore]] process. It differs from the regular CRIU's (process) context like the [[parasite code]] does -- it doesn't have any libraries, it is PIE-compiled and can olny work on fixed amount of memory. In this context CRIU restores
+
The restorer context is the last stage of the [[Checkpoint/Restore|restore]] process. It differs from the regular CRIU's (process) context like the [[parasite code]] does -- it doesn't have any libraries, it is PIE-compiled and can only work on fixed amount of memory. In this context CRIU restores
    
# memory
 
# memory
Line 33: Line 33:  
Credentials are restored here to allow CRIU perform privileged operations such as fork-with-pid or chroot().
 
Credentials are restored here to allow CRIU perform privileged operations such as fork-with-pid or chroot().
   −
Threads are restored here for simplicity. If we restored them before, we'd have to "park" them while we change the memory layout. Instead of doing this, we first toss the memory arond, then create threads.
+
Threads are restored here for simplicity. If we restored them before, we'd have to "park" them while we change the memory layout. Instead of doing this, we first toss the memory around, then create threads.
 +
 
 +
== See also ==
 +
* [[Code blobs]]
 +
* [[Compel]]
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]
 +
[[Category:Editor help needed]]

Navigation menu