Skip to content
Commit 1438f013 authored by Christopher Covington's avatar Christopher Covington Committed by Pavel Emelyanov
Browse files

Pass task_size to vma_area_is_private()



If we want one CRIU binary to work across all AArch64 kernel
configurations, a single task size value cannot be hard coded. Since
vma_area_is_private() is used by both restorer blob code and non
restorer blob code, which must use different variables for recording
the task size, make task_size a function argument and modify the call
sites accordingly. This fixes the following error on AArch64 kernels
with CONFIG_ARM64_64K_PAGES=y.

  pie: Error (pie/restorer.c:929): Can't restore 0x3ffb7e70000 mapping w>
  pie: ith 0xfffffffffffffff7

Signed-off-by: default avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 7451fc7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment