[CRIU] [PATCH 0/7] 32-bit tests fixes

Dmitry Safonov dsafonov at virtuozzo.com
Mon Jan 9 09:19:05 PST 2017


It fixes a dozen of compat tests:
o remove padding from ucontext_ia32, which leaded to uncorrect
  restore of blocked signals
o fix segfault on dumping 32-bit process on v4.9 (or newer) kernel,
  with criu built without multilib support
o clan-workaround for prev commit (which is compiler bug, so I left
  it as separate commit)
o fix race in restoring GDT entries (affects 32 only)
o some small fixes to tests

Dmitry Safonov (7):
  compel/x86/compat: pack ucontext_ia32
  x86/compat: don't set has_compat_sigreturn if !CONFIG_COMPAT
  compel/x86: hang in 32-bit mode on sw-break for compat tasks
  compel/x86: clang-3.4 isn't a friend to numbers in macro
  zdtm/test: add infop to waitid()
  x86/restorer/compat: let stack32 be per-thread
  zdtm/fanotify00: fix fanotify_{init,mark} calls

 compel/arch/x86/plugins/std/parasite-head.S        | 36 +++++++++++++++++-----
 .../arch/x86/src/lib/include/uapi/asm/sigframe.h   |  2 +-
 criu/arch/x86/crtools.c                            |  2 ++
 criu/arch/x86/restorer.c                           | 30 +++++++++---------
 test/zdtm/static/fanotify00.c                      |  9 ++++--
 test/zdtm/static/helper_zombie_child.c             |  3 +-
 test/zdtm/static/sigpending.c                      |  3 +-
 test/zdtm/static/stopped.c                         |  3 +-
 8 files changed, 58 insertions(+), 30 deletions(-)

-- 
2.11.0



More information about the CRIU mailing list