[CRIU] [PATCH 0/3] vdso proxy, v3

Cyrill Gorcunov gorcunov at openvz.org
Wed May 15 11:56:58 EDT 2013


Hi guys, here is vdso proxy series. The main change from
previous series are

 - runtime vdso is not longer copied but rather remapped at
   new place

 - parasite now can detect the new runtime vdso on dumping and
   skip it from writting to image

Please take a look, thanks! At moment I'm thinking on how to
test it automatically with zdtm help...

Cyrill Gorcunov (3):
  vdso: Introduce vdso engine
  vdso: Proxify vDSO code on restore
  dump: Escape double dumping of mangled vDSO

 arch/arm/include/asm/vdso.h |  13 +++
 arch/x86/Makefile           |   1 +
 arch/x86/crtools.c          |  40 +++++++++
 arch/x86/include/asm/vdso.h |  13 +++
 arch/x86/vdso.c             | 204 ++++++++++++++++++++++++++++++++++++++++++++
 cr-dump.c                   |   6 ++
 cr-restore.c                |  83 +++++++++++++++++-
 include/parasite-syscall.h  |   3 +
 include/parasite.h          |   8 ++
 include/restorer.h          |  12 +++
 include/vdso.h              | 110 ++++++++++++++++++++++++
 parasite-syscall.c          |  66 ++++++++++++++
 pie/parasite.c              |  19 +++++
 pie/restorer.c              |  54 ++++++++++++
 14 files changed, 629 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/include/asm/vdso.h
 create mode 100644 arch/x86/include/asm/vdso.h
 create mode 100644 arch/x86/vdso.c
 create mode 100644 include/vdso.h

-- 
1.8.1.4


More information about the CRIU mailing list