2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

namespaces: split UTS and generic code

Generic code will be used for other namespaces.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Stanislav Kinsbursky
2012-01-31 11:29:23 +03:00
committed by Cyrill Gorcunov
parent 8a6269e490
commit 225d119e5d
6 changed files with 150 additions and 133 deletions

View File

@@ -3,5 +3,5 @@
int dump_namespaces(int pid);
int prepare_namespace(int pid, unsigned long clone_flags);
int try_show_namespaces(int pid);
void show_utsns(int fd);
int switch_ns(int pid, int type, char *ns);
#endif