mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-28 12:36:47 +00:00
checkpoint: namepsaces info to dump log
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:
parent
4d962b27c0
commit
8971be17fd
1 changed files with 2 additions and 0 deletions
|
|
@ -38,11 +38,13 @@ static int do_dump_namespaces(int ns_pid, unsigned int ns_flags)
|
|||
return -1;
|
||||
|
||||
if (ns_flags & CLONE_NEWUTS) {
|
||||
pr_info("Dump UTS namespace\n");
|
||||
ret = dump_uts_ns(ns_pid, fdset);
|
||||
if (ret < 0)
|
||||
goto err;
|
||||
}
|
||||
if (ns_flags & CLONE_NEWIPC) {
|
||||
pr_info("Dump IPC namespace\n");
|
||||
ret = dump_ipc_ns(ns_pid, fdset);
|
||||
if (ret < 0)
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue