Commit 48d0e78e authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

crtools: change the minimal address for the restorer blob

It should be bigger than CONFIG_LSM_MMAP_MIN_ADDR.

v2: set a correct value
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6089f8c5
......@@ -1262,7 +1262,7 @@ static long restorer_get_vma_hint(pid_t pid, struct list_head *tgt_vma_list,
struct vma_area end_vma;
end_vma.vma.start = end_vma.vma.end = TASK_SIZE_MAX;
prev_vma_end = PAGE_SIZE;
prev_vma_end = PAGE_SIZE * 0x10; /* CONFIG_LSM_MMAP_MIN_ADDR=65536 */
s_vma = list_first_entry(self_vma_list, struct vma_area, list);
t_vma = list_first_entry(tgt_vma_list, struct vma_area, list);
......
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