mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
cr: Detect namespaces presence automatically
Introduce the current_ns_mask variable, that collects info about which namespaces tasks being dumped and to be restored live in. For simlicity all tasks are supposed to live in one set of spaces. This should be fixed eventually. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -21,4 +21,7 @@ extern struct ns_desc pid_ns_desc;
|
||||
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