mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
restore: Add PROT_GROWSDOWN for stack area
Since we stick with x86 for a while. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -217,6 +217,9 @@ self_len_end:
|
||||
if (!(vma_entry.status & VMA_AREA_REGULAR))
|
||||
continue;
|
||||
|
||||
if (vma_entry.status & VMA_AREA_STACK)
|
||||
vma_entry.prot |= PROT_GROWSDOWN;
|
||||
|
||||
#if 0
|
||||
vma_entry.fd = -1UL; /* for a while */
|
||||
vma_entry.pgoff = 0;
|
||||
|
Reference in New Issue
Block a user