[CRIU] [PATCH 3/3] dump: Escape double dumping of mangled vDSO

Cyrill Gorcunov gorcunov at openvz.org
Wed May 15 11:57:01 EDT 2013


When we dump restored program, if there two vdso present (one -- patched
old vdso and a new one where calls are redirected to) -- we need to skip
dumping second vdso. For what we examinate vdso memory with parasite help
and if special mark present -- we remove such vma from the list.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c                  |  6 +++++
 include/parasite-syscall.h |  3 +++
 include/parasite.h         |  8 ++++++
 parasite-syscall.c         | 66 ++++++++++++++++++++++++++++++++++++++++++++++
 pie/parasite.c             | 19 +++++++++++++
 5 files changed, 102 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dump-Escape-double-dumping-of-mangled-vDSO.patch
Type: text/x-patch
Size: 4527 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130515/741a2f69/attachment-0001.bin>


More information about the CRIU mailing list