Commit b0217d4e authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

criu: add constants about user namespaces

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 74503494
......@@ -323,6 +323,7 @@ static struct show_image_info show_infos[] = {
SHOW_PLAINS(EXT_FILE),
SHOW_PLAIN(IRMAP_CACHE),
SHOW_PLAIN(CPUINFO),
SHOW_PLAIN(USERNS),
{ FILE_LOCKS_MAGIC, PB_FILE_LOCK, false, NULL, "3:%u", },
{ TCP_STREAM_MAGIC, PB_TCP_STREAM, true, show_tcp_stream, "1:%u 2:%u 3:%u 4:%u 12:%u", },
......
......@@ -88,6 +88,7 @@ struct cr_fd_desc_tmpl imgset_template[CR_FD_MAX] = {
FD_ENTRY(CGROUP, "cgroup"),
FD_ENTRY(TIMERFD, "timerfd"),
FD_ENTRY(CPUINFO, "cpuinfo"),
FD_ENTRY(USERNS, "userns-%d"),
[CR_FD_STATS] = {
.fmt = "stats-%s",
......
......@@ -26,6 +26,7 @@ enum {
*/
CR_FD_UTSNS,
CR_FD_MNTS,
CR_FD_USERNS,
_CR_FD_IPCNS_FROM,
CR_FD_IPC_VAR,
......
......@@ -75,6 +75,7 @@
#define CGROUP_MAGIC 0x59383330 /* Tikhvin */
#define TIMERFD_MAGIC 0x50493712 /* Korocha */
#define CPUINFO_MAGIC 0x61404013 /* Nyandoma */
#define USERNS_MAGIC 0x55474906 /* Kazan */
#define IFADDR_MAGIC RAW_IMAGE_MAGIC
#define ROUTE_MAGIC RAW_IMAGE_MAGIC
......
......@@ -53,6 +53,7 @@ enum {
PB_CGROUP,
PB_TIMERFD,
PB_CPUINFO,
PB_USERNS,
/* PB_AUTOGEN_STOP */
......
......@@ -60,6 +60,7 @@
#include "protobuf/cgroup.pb-c.h"
#include "protobuf/timerfd.pb-c.h"
#include "protobuf/cpuinfo.pb-c.h"
#include "protobuf/userns.pb-c.h"
struct cr_pb_message_desc cr_pb_descs[PB_MAX];
......
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