Commit 8971be17 authored by Stanislav Kinsbursky's avatar Stanislav Kinsbursky Committed by Cyrill Gorcunov

checkpoint: namepsaces info to dump log

Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@parallels.com>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 4d962b27
...@@ -38,11 +38,13 @@ static int do_dump_namespaces(int ns_pid, unsigned int ns_flags) ...@@ -38,11 +38,13 @@ static int do_dump_namespaces(int ns_pid, unsigned int ns_flags)
return -1; return -1;
if (ns_flags & CLONE_NEWUTS) { if (ns_flags & CLONE_NEWUTS) {
pr_info("Dump UTS namespace\n");
ret = dump_uts_ns(ns_pid, fdset); ret = dump_uts_ns(ns_pid, fdset);
if (ret < 0) if (ret < 0)
goto err; goto err;
} }
if (ns_flags & CLONE_NEWIPC) { if (ns_flags & CLONE_NEWIPC) {
pr_info("Dump IPC namespace\n");
ret = dump_ipc_ns(ns_pid, fdset); ret = dump_ipc_ns(ns_pid, fdset);
if (ret < 0) if (ret < 0)
goto err; goto err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment