• Christopher Covington's avatar
    Pass task_size to vma_area_is_private() · 1438f013
    Christopher Covington authored
    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: 's avatarChristopher Covington <cov@codeaurora.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    1438f013
Name
Last commit
Last update
..
piegen Loading commit data...
Makefile Loading commit data...
log-simple.c Loading commit data...
parasite.c Loading commit data...
pie-reloc.lds.S.in Loading commit data...
pie-relocs.c Loading commit data...
pie-relocs.h Loading commit data...
pie.lds.S.in Loading commit data...
restorer.c Loading commit data...
util-fd.c Loading commit data...
util.c Loading commit data...