mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
New option -n to dump/restore namespaces. Fork the namespaces dumping task and write a helper for switching a namespace. Prepare the restorer code for restoring namespaces before root task. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
7 lines
170 B
C
7 lines
170 B
C
#ifndef __CR_NS_H__
|
|
#define __CR_NS_H__
|
|
int dump_namespaces(int pid);
|
|
int prepare_namespace(int pid, unsigned long clone_flags);
|
|
int try_show_namespaces(int pid);
|
|
#endif
|