criu/include/uts_ns.h
Andrey Vagin e63f8c20e9 uts: don't use global fdset for dumping namespace
We are going to replace pid on id in names of image files. The id is
uniq for each namespace, so it's more convient, if image files are
opened per namespace.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-10-01 12:10:57 +04:00

11 lines
205 B
C

#ifndef __CR_UTS_NS_H__
#define __CR_UTS_NS_H__
#include "crtools.h"
int dump_uts_ns(int ns_pid, int ns_id);
int prepare_utsns(int pid);
extern struct ns_desc uts_ns_desc;
#endif /* __CR_UTS_NS_H__ */