Difference between revisions of "Compel"

From CRIU
Jump to navigation Jump to search
(Created page with "[http://github.com/xemul/compel] Category:Empty articles Category:Sub-projects")
 
Line 1: Line 1:
 
[http://github.com/xemul/compel]
 
[http://github.com/xemul/compel]
 +
 +
== Usage ideas ==
 +
 +
One thing parasite code can do is call clone() and create thread having access to main process VM, FDT, FS, etc. The new thread can then
 +
 +
* Check socket FDs to get stuck/closed, re-open them and dup2() into original places
 +
** Problem: how to inform the original process about this change
  
 
[[Category:Empty articles]]
 
[[Category:Empty articles]]
 
[[Category:Sub-projects]]
 
[[Category:Sub-projects]]

Revision as of 11:34, 8 February 2016

[1]

Usage ideas

One thing parasite code can do is call clone() and create thread having access to main process VM, FDT, FS, etc. The new thread can then

  • Check socket FDs to get stuck/closed, re-open them and dup2() into original places
    • Problem: how to inform the original process about this change