[CRIU] Re: [PATCH] Take into account stack guard page size in parse_smaps

Cyrill Gorcunov gorcunov at openvz.org
Tue Jul 24 02:56:40 EDT 2012


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.

	Cyrill


More information about the CRIU mailing list