[CRIU] [PATCH 0/3] x86/32: jump trampolines fix

Andrei Vagin avagin at virtuozzo.com
Wed Mar 15 18:37:54 PDT 2017


Applied, thanks!

On Fri, Mar 10, 2017 at 04:35:22PM +0300, Dmitry Safonov wrote:
> Previously, jump code for 32-bit was broken and rt-vdso was
> unmapped after restore - which lead to segmentation fault if
> jump trampilines were inserted.
> Now force-injection of trampolines works like a charm!
> 
> Dmitry Safonov (3):
>   vdso: remove per-arch declaration for vdso_redirect_calls
>   x86/32: rectify compatible jump trampolines
>   x86/32: don't unmap vdso_rt after redirecting calls there
> 
>  criu/arch/aarch64/include/asm/vdso.h |  6 ---
>  criu/arch/aarch64/vdso-pie.c         |  4 +-
>  criu/arch/ppc64/include/asm/vdso.h   |  6 ---
>  criu/arch/ppc64/vdso-pie.c           |  7 ++--
>  criu/arch/x86/include/asm/vdso.h     |  6 ---
>  criu/arch/x86/vdso-pie.c             | 80 ++++++++++++++++++++----------------
>  criu/include/parasite-vdso.h         |  3 ++
>  criu/pie/parasite-vdso.c             |  2 +-
>  criu/pie/restorer.c                  |  1 +
>  9 files changed, 55 insertions(+), 60 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