mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
vdso: restorer -- Don't forget to access proper vma from the list
Otherwise we might take a look on last vma from previous cycle not running vdso analisys at all. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
7794f67f20
commit
a1e2da9b56
@ -776,8 +776,8 @@ long __export_restore_task(struct task_restore_args *args)
|
||||
* Proxify vDSO.
|
||||
*/
|
||||
for (i = 0; i < args->nr_vmas; i++) {
|
||||
if (vma_entry_is(vma_entry, VMA_AREA_VDSO) ||
|
||||
vma_entry_is(vma_entry, VMA_AREA_VVAR)) {
|
||||
if (vma_entry_is(&args->tgt_vmas[i], VMA_AREA_VDSO) ||
|
||||
vma_entry_is(&args->tgt_vmas[i], VMA_AREA_VVAR)) {
|
||||
if (vdso_proxify("dumpee", &args->vdso_sym_rt,
|
||||
args->vdso_rt_parked_at,
|
||||
i, args->tgt_vmas, args->nr_vmas))
|
||||
|
Loading…
x
Reference in New Issue
Block a user