mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
restorer: Replace most hard-coded TASK_SIZE use
If we want one CRIU binary to work across all AArch64 kernel configurations, a single task size value cannot be hard coded. This fixes the following error on AArch64 kernels with CONFIG_ARM64_64K_PAGES=y. pie: Error (pie/restorer.c:772): Unable to unmap (-): -1211695104 Signed-off-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
c0c0546c31
commit
7451fc7d23
3 changed files with 12 additions and 8 deletions
|
|
@ -139,6 +139,7 @@ struct task_restore_args {
|
|||
unsigned int zombies_n;
|
||||
/* * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
unsigned long task_size;
|
||||
unsigned long premmapped_addr;
|
||||
unsigned long premmapped_len;
|
||||
rt_sigaction_t sigchld_act;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue