[CRIU] [PATCH 00/11] compel: Move daemon head into std module

Cyrill Gorcunov gorcunov at openvz.org
Fri Nov 11 10:51:57 PST 2016


First 5 patches are general ones.

Cyrill Gorcunov (11):
  headers: Switch to common linkage.h
  compel: plugins,std -- Use proper quotes in exported header
  compel: plugins,std -- Export string helpers
  compel: plugins,std -- Implement generic std_memcpy
  criu: pie, parasite-head -- Drop unneeded parasite.h inclusion
  compel: scripts -- Rework packing script
  criu: pie -- Switch to use compel shipped packing script
  compel: plugins,fds -- Add missing headers into uapi
  compel: infect-util -- Fix plugin-fds inclusion
  compel: plugins -- Add missing flags into compilation
  compel: plugins,std -- Move in infect code

 compel/arch/aarch64/plugins/include/asm/linkage.h  |  1 -
 .../arch/aarch64/plugins/std}/parasite-head.S      |  3 +-
 .../aarch64/plugins/std/syscalls/syscall-common.S  |  2 +-
 compel/arch/aarch64/scripts/compel-pack.lds.S      | 32 ++++++++++
 compel/arch/arm/plugins/include/asm/linkage.h      |  1 -
 .../arch/arm/plugins/std}/parasite-head.S          |  3 +-
 .../arch/arm/plugins/std/syscalls/syscall-common.S |  2 +-
 .../arch/arm/scripts/compel-pack.lds.S             |  1 +
 compel/arch/ppc64/plugins/include/asm/linkage.h    |  1 -
 .../arch/ppc64/plugins/std}/parasite-head.S        |  3 +-
 .../plugins/std/syscalls/syscall-common-ppc64.S    |  2 +-
 .../arch/ppc64/scripts/compel-pack.lds.S           |  3 +-
 compel/arch/x86/plugins/include/asm/linkage.h      |  1 -
 .../arch/x86/plugins/std/parasite-head-compat.S    |  3 +-
 .../arch/x86/plugins/std/parasite-head.S           |  3 +-
 compel/arch/x86/plugins/std/prologue.S             |  2 +-
 .../plugins/std/syscalls/syscall-common-x86-32.S   |  2 +-
 .../plugins/std/syscalls/syscall-common-x86-64.S   |  2 +-
 compel/arch/x86/scripts/compel-pack-compat.lds.S   | 37 +++++++++++
 compel/arch/x86/scripts/compel-pack.lds.S          | 37 +++++++++++
 compel/arch/x86/scripts/pack.lds.S                 | 30 ---------
 compel/plugins/Makefile                            |  6 +-
 compel/plugins/include/uapi/plugin-fds.h           |  5 ++
 compel/plugins/include/uapi/plugin-std.h           |  6 +-
 compel/plugins/include/uapi/std/infect.h           | 20 ++++++
 {criu/pie => compel/plugins/std}/infect.c          | 52 +++++++--------
 compel/plugins/std/string.c                        | 18 ++----
 compel/src/lib/infect-util.c                       |  2 +
 criu/Makefile                                      |  2 +-
 criu/arch/ppc64/memcmp_64.S                        |  2 +-
 criu/arch/ppc64/memcpy_power7.S                    |  2 +-
 criu/arch/ppc64/vdso-trampoline.S                  |  2 +-
 criu/arch/x86/call32.S                             |  2 +-
 criu/arch/x86/memcpy.S                             |  2 +-
 criu/pie/Makefile                                  | 73 ++++++----------------
 criu/pie/compat/infect-compat.c                    |  1 -
 criu/pie/restorer.c                                | 17 +++++
 .../common/arch/aarch64}/asm/linkage.h             |  0
 .../common/arch/arm}/asm/linkage.h                 |  0
 .../common/arch/ppc64}/asm/linkage.h               |  0
 .../common/arch/x86}/asm/linkage.h                 |  0
 41 files changed, 224 insertions(+), 159 deletions(-)
 delete mode 120000 compel/arch/aarch64/plugins/include/asm/linkage.h
 rename {criu/arch/aarch64 => compel/arch/aarch64/plugins/std}/parasite-head.S (90%)
 create mode 100644 compel/arch/aarch64/scripts/compel-pack.lds.S
 delete mode 120000 compel/arch/arm/plugins/include/asm/linkage.h
 rename {criu/arch/arm => compel/arch/arm/plugins/std}/parasite-head.S (91%)
 rename criu/pie/pie.lds.S.in => compel/arch/arm/scripts/compel-pack.lds.S (96%)
 delete mode 120000 compel/arch/ppc64/plugins/include/asm/linkage.h
 rename {criu/arch/ppc64 => compel/arch/ppc64/plugins/std}/parasite-head.S (95%)
 rename criu/pie/pie-reloc.lds.S.in => compel/arch/ppc64/scripts/compel-pack.lds.S (93%)
 delete mode 120000 compel/arch/x86/plugins/include/asm/linkage.h
 rename criu/arch/x86/parasite-head-32.S => compel/arch/x86/plugins/std/parasite-head-compat.S (90%)
 rename criu/arch/x86/parasite-head-64.S => compel/arch/x86/plugins/std/parasite-head.S (89%)
 create mode 100644 compel/arch/x86/scripts/compel-pack-compat.lds.S
 create mode 100644 compel/arch/x86/scripts/compel-pack.lds.S
 delete mode 100644 compel/arch/x86/scripts/pack.lds.S
 create mode 100644 compel/plugins/include/uapi/std/infect.h
 rename {criu/pie => compel/plugins/std}/infect.c (81%)
 delete mode 120000 criu/pie/compat/infect-compat.c
 rename {criu/arch/arm/include => include/common/arch/aarch64}/asm/linkage.h (100%)
 rename {criu/arch/aarch64/include => include/common/arch/arm}/asm/linkage.h (100%)
 rename {criu/arch/ppc64/include => include/common/arch/ppc64}/asm/linkage.h (100%)
 rename {criu/arch/x86/include => include/common/arch/x86}/asm/linkage.h (100%)

-- 
2.7.4



More information about the CRIU mailing list