2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

dump,restore: Dump and restore vDSO area from userspace

There is no need to force kernel to remap vDSO area, we
can do that from the user-space as well.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-11-29 16:39:48 +04:00
parent f6ae59cdde
commit 4dc0736697
2 changed files with 1 additions and 13 deletions

2
util.c
View File

@@ -322,7 +322,7 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
} else if (strstr(big_buffer, "[vsyscall]")) {
vma_area->vma.status |= VMA_AREA_VSYSCALL;
} else if (strstr(big_buffer, "[vdso]")) {
vma_area->vma.status |= VMA_AREA_VDSO;
vma_area->vma.status |= VMA_AREA_REGULAR | VMA_AREA_VDSO;
} else if (strstr(big_buffer, "[heap]")) {
vma_area->vma.status |= VMA_AREA_REGULAR | VMA_AREA_HEAP;
} else {