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

Pavel Emelyanov xemul at parallels.com
Wed May 15 11:59:58 EDT 2013


On 05/15/2013 07:56 PM, Cyrill Gorcunov wrote:
> 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...

Does it

* inject vdso proxy _only_ when required
* detects existing proxy presence and _re_writes one

?

> 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
> 




More information about the CRIU mailing list