[CRIU] Re: [PATCH] Take into account stack guard page size in
	parse_smaps
    Pavel Emelyanov 
    xemul at parallels.com
       
    Tue Jul 24 03:01:11 EDT 2012
    
    
  
On 07/24/2012 10:56 AM, Cyrill Gorcunov wrote:
> On Tue, Jul 24, 2012 at 10:31:44AM +0400, Pavel Emelyanov wrote:
>>>>
>>>> This will affect the dump process as well -- we will dump one page more on the target task's stack.
>>>> Is that OK?
>>>
>>> Yeah, it's ok.
>>
>> Why? We'll try to read this page contents when dumping and may catch sigsegv.
> 
> No, as far as I remember this page never has present bit and our dumper simply
> find it as not loaded into memory and will not dump its contents.
This page is technically out of any mappings and reading pagemap for
those is not ... safe. Is it?
> 	Cyrill
> 
    
    
More information about the CRIU
mailing list