[CRIU] [PATCH 0/3] x86/32: jump trampolines fix
Dmitry Safonov
dsafonov at virtuozzo.com
Fri Mar 10 05:35:22 PST 2017
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
More information about the CRIU
mailing list