[CRIU] [PATCH 00/15] Unmap restorer blobs after restoring processes (v3)

Pavel Emelyanov xemul at parallels.com
Mon Sep 23 07:23:42 EDT 2013


On 09/23/2013 02:33 PM, Andrey Vagin wrote:
> The same way is used for unmaping restorer and parasite blobs.
> 
> The code for unmaping is saved on the target blob and the process
> is trapped on the exit from the munmap syscall.
> 
> The main profit is that we don't need to inject code in a process memory.
> In addition we don't need to collect process vma-s to find a place
> for injecting code.
> 
> v2: Don't use software breakpoints
>     Clean up here and there
> v3: * attach to each thread separately
>     * rework unmaping old VMA-s
>     * add check that a process has the same set of VMS-s after restore

OK, applied, thanks!


More information about the CRIU mailing list