[CRIU] [PATCH master 0/2] Fix memcpy/memset/memcmp

Kir Kolyshkin kir at openvz.org
Sat Feb 4 14:35:47 PST 2017


The first patch is a port^W rework of criu-dev patch named
"Unify own memcpy/memset/memcmp" to the master branch.
The major difference is, there's no compel in master (yet),
so the patch differs a lot.

The second patch is a simple fix from Andrey which is not working
without the first one.

I'm afraid that jenkins won't be able to test it as
it's for the master branch, so here are my own travis
test results:

> https://travis-ci.org/kolyshkin/criu/builds/198415449

Good night, and good luck.

Andrei Vagin (1):
  util: zero msghdr structures

Kir Kolyshkin (1):
  Drop prefix from own memcpy/memset/memcmp

 criu/arch/aarch64/include/asm/string.h |  7 ---
 criu/arch/aarch64/include/features.h   |  4 ++
 criu/arch/aarch64/restorer.c           |  1 -
 criu/arch/aarch64/vdso-pie.c           |  1 -
 criu/arch/arm/include/asm/string.h     |  7 ---
 criu/arch/arm/include/features.h       |  4 ++
 criu/arch/arm/restorer.c               |  1 -
 criu/arch/ppc64/include/asm/string.h   | 28 ------------
 criu/arch/ppc64/include/features.h     |  7 +++
 criu/arch/ppc64/memcmp_64.S            |  2 +-
 criu/arch/ppc64/memcpy_power7.S        |  1 -
 criu/arch/ppc64/vdso-pie.c             |  4 +-
 criu/arch/x86/include/asm/string.h     | 21 ---------
 criu/arch/x86/include/features.h       |  6 +++
 criu/arch/x86/memcpy.S                 |  2 -
 criu/arch/x86/vdso-pie.c               |  4 +-
 criu/include/asm-generic/string.h      | 82 ----------------------------------
 criu/include/string.h                  |  3 +-
 criu/pie/Makefile                      |  1 +
 criu/pie/Makefile.library              |  3 ++
 criu/pie/restorer.c                    |  2 +-
 criu/pie/string.c                      | 63 ++++++++++++++++++++++++++
 criu/pie/util-fd.c                     |  2 -
 criu/pie/util-vdso.c                   | 13 ++++--
 include/common/scm-code.c              | 14 +++---
 scripts/build/Dockerfile.tmpl          |  4 +-
 26 files changed, 114 insertions(+), 173 deletions(-)
 delete mode 100644 criu/arch/aarch64/include/asm/string.h
 create mode 100644 criu/arch/aarch64/include/features.h
 delete mode 100644 criu/arch/arm/include/asm/string.h
 create mode 100644 criu/arch/arm/include/features.h
 delete mode 100644 criu/arch/ppc64/include/asm/string.h
 create mode 100644 criu/arch/ppc64/include/features.h
 delete mode 100644 criu/arch/x86/include/asm/string.h
 create mode 100644 criu/arch/x86/include/features.h
 delete mode 100644 criu/include/asm-generic/string.h
 create mode 100644 criu/pie/string.c

-- 
2.9.3



More information about the CRIU mailing list