[CRIU] [PATCH] restore: mutate tgt_addr in map_private_vma
Andrew Vagin
avagin at parallels.com
Tue Apr 1 01:11:12 PDT 2014
On Mon, Mar 31, 2014 at 02:01:24PM -0700, Jamie Liu wrote:
> prepare_mappings() uses the return value of map_private_vma() for the
> size of the mapped vma. Unfortunately the return value of
> map_private_vma() is an int, resulting in breakage when the size exceeds
> 31 bits. Change map_private_vma() to return only an error code, and
> mutate addr in-place.
Good catch! Thanks.
More information about the CRIU
mailing list