mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
It uses pid for create image file and real_pid for dumping ns-s. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
12 lines
308 B
C
12 lines
308 B
C
#ifndef __CR_NS_H__
|
|
#define __CR_NS_H__
|
|
|
|
#include "crtools.h"
|
|
|
|
int dump_namespaces(struct pid *pid, unsigned int ns_flags);
|
|
int prepare_namespace(int pid, unsigned long clone_flags);
|
|
struct cr_options;
|
|
int try_show_namespaces(int pid, struct cr_options *);
|
|
int switch_ns(int pid, int type, char *ns);
|
|
#endif
|