mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
add walk_all flag to walk_namespaces
In the rest of this series we need to walk all the namespaces to autodetect which mounts are master/shared/private bind mounts, so we need the information from criu's namespace in the case when the namespaces are not the same. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
f72f3824f4
commit
246367e4e4
@@ -54,7 +54,7 @@ extern unsigned long root_ns_mask;
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern struct collect_image_info nsfile_cinfo;
|
||||
|
||||
extern int walk_namespaces(struct ns_desc *nd, int (*cb)(struct ns_id *, void *), void *oarg);
|
||||
extern int walk_namespaces(struct ns_desc *nd, bool walk_all, int (*cb)(struct ns_id *, void *), void *oarg);
|
||||
extern int collect_namespaces(bool for_dump);
|
||||
extern int collect_mnt_namespaces(bool for_dump);
|
||||
extern int dump_mnt_namespaces(void);
|
||||
|
Reference in New Issue
Block a user