[CRIU] [PATCH v2] restore: mutate tgt_addr in map_private_vma

Pavel Emelyanov xemul at parallels.com
Wed Apr 2 04:52:59 PDT 2014


On 04/01/2014 09:40 PM, 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.
> 
> Signed-off-by: Jamie Liu <jamieliu at google.com>

applied, thanks


More information about the CRIU mailing list