[CRIU] [PATCH 7/9] parasite-syscall.c: don't infect a VMA above TASK_SIZE

Alexander Kartashov alekskartashov at parallels.com
Wed Jan 16 10:21:23 EST 2013


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.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list