[CRIU] [PATCH 0/3] ia32: kerndat checks improvements

Dmitry Safonov dsafonov at virtuozzo.com
Fri Apr 21 13:28:09 PDT 2017


Sorry for being so late with this.
Patches set is related to kdat checks for 32-bit C/R,
I'm worring about people trying it, having some problems,
but can't understand what's wrong.

o 1 is improvement for message - shows if 32bit C/R is
  disabled during comilation
  (resending just for travis `git am` success on following patches)
o 2 is just a naming clean-up
o 3 hardens kdat test for ia32 C/R with mmap() kernel bug check.

Looks like, 3 comes out a little big, but the test runs
under fork(), affects only compat_cr feature presence.
So it should be quite safe.

Dmitry Safonov (3):
  ia32: Clearify if 32bit C/R is compile-disabled
  ia32: Rename has_compat_sigreturn => compat_cr
  ia32/kdat: Check for 32-bit mmap() bug

 Makefile.config                          |   3 +
 compel/arch/x86/src/lib/infect.c         |   2 +-
 compel/include/uapi/infect.h             |   2 +-
 criu/arch/aarch64/include/asm/restorer.h |   2 +-
 criu/arch/arm/include/asm/restorer.h     |   2 +-
 criu/arch/ppc64/include/asm/restorer.h   |   2 +-
 criu/arch/x86/crtools.c                  | 142 +++++++++++++++++++++++++++++--
 criu/arch/x86/include/asm/restorer.h     |   2 +-
 criu/cr-check.c                          |   8 +-
 criu/include/kerndat.h                   |   2 +-
 criu/kerndat.c                           |   4 +-
 criu/parasite-syscall.c                  |   4 +-
 criu/vdso.c                              |   2 +-
 13 files changed, 158 insertions(+), 19 deletions(-)

-- 
2.12.2



More information about the CRIU mailing list