[CRIU] [PATCH 00/10] vDSO improvements

Andrei Vagin avagin at virtuozzo.com
Mon Feb 20 10:55:55 PST 2017


Applied, thanks!

On Thu, Feb 16, 2017 at 07:20:35PM +0300, Dmitry Safonov wrote:
> This patches set contains vDSO-related stuff as:
> o ia32 symbols for vdso proxyfication
> o ia32-version of vdso test
> o style and messages improvements
> o fault-injection for restorer and
> o fi-test for vdso trampolines
> 
> While doing fi for vdso trampolines I've found that
> this fails for 32-bit C/R. Application jumps to rt-vdso
> successfully, but segfaults there.
> Also, it would be worth to add symbols and check-handlers
>  in vdso01 for __kernel_{vsyscall,sigreturn,rt_sigreturn}.
> 
> Unluckily, I'm currently out of time to finish fixing
> 32-bit vdso tests, so sending it as-is :(
> 
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Dmitry Safonov (10):
>   ia32/vdso: pretify helper for mmaping 32bit vDSO
>   x86/vdso: add ia32 vdso symbols
>   zdtm/vdso01: separate handlers calling traversal
>   zdtm/vdso01: move vdso_symbols upper
>   zdtm/vdso01/ia32: add ia32 test version
>   vdso: correct remap messages
>   vdso: drop excessive parameter who from vdso_proxify
>   vdso: move VMAs traverse cycle in vdso_proxify()
>   restorer/fault: add fault-injection into restorer
>   fault/vdso/restorer: add force-injection of trampolines
> 
>  criu/arch/x86/include/asm/vdso.h |   7 +-
>  criu/cr-restore.c                |   1 +
>  criu/include/fault-injection.h   |  20 ++++--
>  criu/include/parasite-vdso.h     |   7 +-
>  criu/include/restorer.h          |   3 +
>  criu/pie/parasite-vdso.c         |  51 ++++++-------
>  criu/pie/restorer.c              |  26 ++++---
>  criu/vdso.c                      |  76 +++++++++++++-------
>  test/jenkins/criu-fault.sh       |   1 +
>  test/zdtm/static/vdso01.c        | 150 +++++++++++++++++++++++----------------
>  10 files changed, 209 insertions(+), 133 deletions(-)
> 
> -- 
> 2.11.1
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list