mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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:
@@ -222,6 +222,12 @@ struct ckpt_arch_entry {
|
|||||||
|
|
||||||
#define CKPT_CORE_SIZE (2 * 4096)
|
#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 {
|
struct task_core_entry {
|
||||||
u8 task_state;
|
u8 task_state;
|
||||||
u8 pad[3];
|
u8 pad[3];
|
||||||
@@ -242,6 +248,7 @@ struct task_core_entry {
|
|||||||
u64 mm_env_start;
|
u64 mm_env_start;
|
||||||
u64 mm_env_end;
|
u64 mm_env_end;
|
||||||
u64 blk_sigset;
|
u64 blk_sigset;
|
||||||
|
u64 mm_saved_auxv[AT_VECTOR_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct core_entry {
|
struct core_entry {
|
||||||
|
Reference in New Issue
Block a user