2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

ns: Extend ns_desc to carry the length of the ns name

This will be needed for fast parsing of procfs ns references.

[ xemul: Add user_ns_desc here ]

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2013-05-20 13:30:17 +04:00
committed by Pavel Emelyanov
parent 4531f0ac7d
commit 30936058a0
6 changed files with 15 additions and 20 deletions

View File

@@ -938,7 +938,4 @@ int prepare_ipc_ns(int pid)
return 0;
}
struct ns_desc ipc_ns_desc = {
.cflag = CLONE_NEWIPC,
.str = "ipc",
};
struct ns_desc ipc_ns_desc = NS_DESC_ENTRY(CLONE_NEWIPC, "ipc");