[Devel] [PATCH 0/4] Compat C/R patches

Dmitry Safonov dsafonov at virtuozzo.com
Tue Jul 26 07:24:58 PDT 2016


  Those patches adds possibility to C/R compatible 32-bit application
with CRIU help. Tested with criu-dev branch with a couple of v3.10
specific patches (which are also good for v3.11, which CRIU supports),
I will sent them to criu shortly.
  3/4 first patches are backports of my upstream patches, which *arn't*
yet in vanilla, but lkml folks found them good [1].
The fourth patch is made from a scratch, as vDSO part of the kernel
has been changed from v3.10 quit greatly.

Now I'm working on upstream v3 version, any updates/API changes that
may happen, will be backported on top of this version.
Changes to v3 are to vdso part of patches set, which differs.

This patches set contains quite big changes, so please, review and
tell if you have some concerns.

Thanks,
             Dmitry

[1]: http://lwn.net/Articles/693012/

Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Cc: Pavel Emelyanov <xemul at virtuozzo.com>
Cc: Vladimir Davydov <vdavydov at virtuozzo.com>
Cc: Konstantin Khorenko <khorenko at virtuozzo.com>

Dmitry Safonov (4):
  x86/coredump: use pr_reg size, rather that TIF_IA32 flag
  x86/ptrace: down with test_thread_flag(TIF_IA32)
  x86/signal: add SA_{X32,IA32}_ABI sa_flags
  x86/arch_prctl/vdso: add ARCH_MAP_VDSO_*

 arch/x86/ia32/ia32_signal.c         |  36 +++++++++++--
 arch/x86/include/asm/compat.h       |   8 +--
 arch/x86/include/asm/elf.h          |   4 ++
 arch/x86/include/asm/fpu-internal.h |  20 ++++---
 arch/x86/include/asm/signal.h       |   4 ++
 arch/x86/include/uapi/asm/prctl.h   |   6 +++
 arch/x86/kernel/process_64.c        |  13 +++++
 arch/x86/kernel/ptrace.c            |   2 +-
 arch/x86/kernel/signal.c            |   6 +--
 arch/x86/vdso/vdso32-setup.c        | 105 ++++++++++++++++++++++++++++--------
 fs/binfmt_elf.c                     |  23 +++-----
 kernel/signal.c                     |   7 +++
 12 files changed, 180 insertions(+), 54 deletions(-)

-- 
2.9.0



More information about the Devel mailing list