mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
namespaces: dump mount namespaces before tasks (v2)
because we want to check, that all files are reachable. For that we need to collect all mounts from all namespaces. v2: dump mntns separately Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
c51e91f6ec
commit
0721626902
@@ -35,6 +35,7 @@ extern unsigned long root_ns_mask;
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern struct collect_image_info nsfile_cinfo;
|
||||
|
||||
extern int dump_mnt_namespaces(void);
|
||||
extern int dump_namespaces(struct pstree_item *item, unsigned int ns_flags);
|
||||
extern int prepare_namespace(struct pstree_item *item, unsigned long clone_flags);
|
||||
extern int try_show_namespaces(int pid);
|
||||
|
Reference in New Issue
Block a user