mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +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:
@@ -22,6 +22,5 @@ struct pstree_item;
|
||||
int dump_task_ns_ids(struct pstree_item *);
|
||||
|
||||
extern unsigned long current_ns_mask;
|
||||
int check_ns_ids(struct pstree_item *);
|
||||
|
||||
#endif /* __CR_NS_H__ */
|
||||
|
Reference in New Issue
Block a user