2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +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:
Cyrill Gorcunov
2011-10-04 14:43:59 +04:00
parent 2f3c929aff
commit e9075241e1

2
elf.c
View File

@@ -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