mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
rst: Evaluate per-task clone mask early
When we've read all pstree-items and their ids we can get the desired clone-flags early and avoid all these dances with flag calculations in fork_with_pid and company. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -254,9 +254,11 @@ struct rst_info {
|
||||
|
||||
void *premmapped_addr;
|
||||
unsigned long premmapped_len;
|
||||
unsigned long clone_flags;
|
||||
|
||||
int service_fd_id;
|
||||
struct fdt *fdt;
|
||||
|
||||
};
|
||||
|
||||
static inline int in_vma_area(struct vma_area *vma, unsigned long addr)
|
||||
|
Reference in New Issue
Block a user