Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Compel
(edit)
Revision as of 14:16, 25 November 2016
46 bytes added
,
14:16, 25 November 2016
→Running parasite code
Line 62:
Line 62:
** Infect victim with parasite blob with <code>compel_infect(ctl, nr_thread, size_of_args_area)</code>
** Infect victim with parasite blob with <code>compel_infect(ctl, nr_thread, size_of_args_area)</code>
* Cure the victim with <code>compel_cure(ctl)</code> and stop using the ctl pointer as it's freed by the call
* Cure the victim with <code>compel_cure(ctl)</code> and stop using the ctl pointer as it's freed by the call
−
* Resume the task with <code>compel_resume_task(pid)</code>
+
* Resume the task with <code>compel_resume_task(pid
, orig_state, state
)</code>
with the saved state value
=== Infecting ===
=== Infecting ===
Xemul
Bureaucrats
,
Administrators
2,257
edits