mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
ns: replace pid on id in per-namespace files
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
51fca3806c
commit
07930a8df4
@@ -27,8 +27,8 @@ extern unsigned long current_ns_mask;
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern struct collect_image_info nsfile_cinfo;
|
||||
|
||||
int dump_namespaces(struct pid *pid, unsigned int ns_flags);
|
||||
int prepare_namespace(int pid, unsigned long clone_flags);
|
||||
int dump_namespaces(struct pstree_item *item, unsigned int ns_flags);
|
||||
int prepare_namespace(struct pstree_item *item, unsigned long clone_flags);
|
||||
int try_show_namespaces(int pid);
|
||||
|
||||
int switch_ns(int pid, struct ns_desc *nd, int *rst);
|
||||
|
Reference in New Issue
Block a user