[CRIU] [PATCH 7/9] parasite-syscall.c: don't infect a VMA above TASK_SIZE
Pavel Emelyanov
xemul at parallels.com
Wed Jan 16 10:28:34 EST 2013
On 01/16/2013 07:21 PM, Alexander Kartashov wrote:
> On 01/16/2013 07:14 PM, Pavel Emelyanov wrote:
>> The only vma passing through this check is ((ip > TASK_SIZE) || (ip in vma))
>> which is not what is written in comment.
>
> The idea is the following:
>
> * if ip < TASK_SIZE then the check works just as it worked before;
> * if ip >= TASK_SIZE then we skip the check that IP is the VMA being
> checked.
... and let infect the vma above task_size? I thought intention was the
opposite.
Why can't we remove the check for ip belonging to vma and infect any
executable vma below task_size?
Thanks,
Pavel
More information about the CRIU
mailing list