Difference between revisions of "Postulates"

From CRIU
Jump to navigation Jump to search
Line 1: Line 1:
 
* All shared resources must be restored by the task with the least PID to avoid deadlocks.
 
* All shared resources must be restored by the task with the least PID to avoid deadlocks.
 
* No operations with file paths in restorer blob -- task has restored it's fs (cwd and root) and may see different tree.
 
* No operations with file paths in restorer blob -- task has restored it's fs (cwd and root) and may see different tree.
 +
* In "dump" code any fork()+exec() should be done using the cr_system() helper not to interfere with victim task tracing.
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 19:23, 2 October 2013

  • All shared resources must be restored by the task with the least PID to avoid deadlocks.
  • No operations with file paths in restorer blob -- task has restored it's fs (cwd and root) and may see different tree.
  • In "dump" code any fork()+exec() should be done using the cr_system() helper not to interfere with victim task tracing.