mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
elf: Allow up to 1G of memory being stored on disk
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
2f3c929aff
commit
e9075241e1
1 changed files with 1 additions and 1 deletions
2
elf.c
2
elf.c
|
|
@ -31,7 +31,7 @@
|
|||
#include "elf.h"
|
||||
|
||||
#define ELF_MAX_PHDR ((65536U / sizeof(Elf64_Phdr)) - 1)
|
||||
#define ELF_MAX_PAGES (1 << 10)
|
||||
#define ELF_MAX_PAGES ((1 << 30) / PAGE_IMAGE_SIZE)
|
||||
|
||||
/*
|
||||
* Convert the c/r core file into elf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue