mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
IPC: dump namespace itself
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:
committed by
Cyrill Gorcunov
parent
9cdfe71921
commit
c826057a9c
@@ -21,6 +21,7 @@
|
||||
#define ITIMERS_MAGIC 0x57464056 /* Kostroma */
|
||||
#define UTSNS_MAGIC 0x54473203 /* Smolensk */
|
||||
#define CREDS_MAGIC 0x54023547 /* Kozelsk */
|
||||
#define IPCNS_MAGIC 0x53115007 /* Samara */
|
||||
|
||||
#define PIPEFS_MAGIC 0x50495045
|
||||
|
||||
@@ -104,6 +105,22 @@ struct vma_entry {
|
||||
s64 fd;
|
||||
} __packed;
|
||||
|
||||
struct ipc_ns_entry {
|
||||
u32 sem_ctls[4];
|
||||
u32 msg_ctlmax;
|
||||
u32 msg_ctlmnb;
|
||||
u32 msg_ctlmni;
|
||||
u32 auto_msgmni;
|
||||
u32 shm_ctlmax[2];
|
||||
u64 shm_ctlall[2];
|
||||
u32 shm_ctlmni;
|
||||
u32 shm_rmid_forced;
|
||||
u32 mq_queues_max;
|
||||
u32 mq_msg_max;
|
||||
u32 mq_msgsize_max;
|
||||
u32 in_use[3];
|
||||
} __packed;
|
||||
|
||||
#define VMA_AREA_NONE (0 << 0)
|
||||
#define VMA_AREA_REGULAR (1 << 0) /* Dumpable area */
|
||||
#define VMA_AREA_STACK (1 << 1)
|
||||
|
Reference in New Issue
Block a user