2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

restore: read core.img before forking to know a child state

It's necessary to get a number of zombies.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2013-03-25 23:39:52 +04:00
committed by Pavel Emelyanov
parent 9af6770279
commit c2b081102b
2 changed files with 25 additions and 16 deletions

View File

@@ -274,9 +274,10 @@ struct rst_info {
unsigned long premmapped_len;
unsigned long clone_flags;
int nr_zombies;
int service_fd_id;
struct fdt *fdt;
};
static inline int in_vma_area(struct vma_area *vma, unsigned long addr)