mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +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:
2
elf.c
2
elf.c
@@ -31,7 +31,7 @@
|
|||||||
#include "elf.h"
|
#include "elf.h"
|
||||||
|
|
||||||
#define ELF_MAX_PHDR ((65536U / sizeof(Elf64_Phdr)) - 1)
|
#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
|
* Convert the c/r core file into elf
|
||||||
|
Reference in New Issue
Block a user