[CRIU] Re: [PATCH cr] mm: taking into account a gurad page to find a space for a restorer vma

Andrey Wagin avagin at gmail.com
Mon Sep 10 06:18:45 EDT 2012


2012/9/10 Pavel Emelyanov <xemul at parallels.com>:
> On 09/10/2012 12:07 PM, Andrey Vagin wrote:
>>
>> Actually a gurad page is a part of a stack vma and we don't want to remap
>> it by a restorer vma.
>>
>> Signed-off-by: Andrey Vagin <avagin at openvz.org>
>> ---
>>  restorer.c |    7 -------
>>  util.c     |    6 ++++++
>>  2 files changed, 6 insertions(+), 7 deletions(-)
>>
>
> Plz, describe the problem you're solving.

crtools on restore finds a place for a restorer vma, which will not
intersect with other VMAs. A guard page is a part of a stack VMA, if
we don't take into account it, we can place the restorer VMA on it and
that case is a bug.


More information about the CRIU mailing list