Commit 415b789c authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

image: Add mm_saved_auxv entry

It's needed for auxv dump and restore.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent faf41eb5
......@@ -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 {
......
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