2
0
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:
Pavel Emelyanov
2013-01-17 18:10:29 +04:00
parent 2f22c68849
commit a46831aee9
5 changed files with 74 additions and 2 deletions

View File

@@ -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__ */