2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

image: Add mm_saved_auxv entry

It's needed for auxv dump and restore.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2012-01-23 14:44:23 +04:00
parent faf41eb5b2
commit 415b789cbf

View File

@ -222,6 +222,12 @@ struct ckpt_arch_entry {
#define CKPT_CORE_SIZE (2 * 4096)
#ifdef CONFIG_X86_64
# define AT_VECTOR_SIZE 44
#else
# define AT_VECTOR_SIZE 22 /* Not needed at moment */
#endif
struct task_core_entry {
u8 task_state;
u8 pad[3];
@ -242,6 +248,7 @@ struct task_core_entry {
u64 mm_env_start;
u64 mm_env_end;
u64 blk_sigset;
u64 mm_saved_auxv[AT_VECTOR_SIZE];
};
struct core_entry {