[CRIU] [PATCH 00/22] compel: Implement parasite engine inside compel

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 19 12:21:15 PDT 2016


This series moves parasite engine into compel. The series is on top
of Pavel's criu-compel branch and passes travis (https://goo.gl/6ROcMy).

Hopefully I didn't miss anything important. Of course various bits
could be cleaned up but at least this branch might be considered
as a reference point for further development.

----------------------------------------------------------------

The following changes since commit 518174aeda026368db574371365f9d13adf045ea:

  criu: Remove inclusion of parasite-blob.h (2016-10-19 13:08:36 +0300)

are available in the git repository at:

  git://github.com/cyrillos/crtools.git libcompel-9

for you to fetch changes up to db473b0ac3a57ec2ad4e318316984e4db15572cd:

  compel: Move in parasite engine (2016-10-19 21:46:55 +0300)

----------------------------------------------------------------

Cyrill Gorcunov (22):
  compel: Adjust uapi ifdefs and add comments
  compel: syscalls -- Use stdint types in protos
  compel: arch,x86 -- Add missing exit section into pack script
  compel: Shuffle source code for new directory structure
  compel: Rename shipped library to libcompel.a
  compel: Adjust ifdefs naming
  compel: Add simple log engine
  compel: Get rid of int.h
  compel: plugins,fds -- Make it the same as criu internal instance
  compel: plugins,shmem -- Add private data header
  compel: plugins,std -- Implement std_memcpy for x86
  compel: Export own version via call
  compel: Add pack action and argv handling
  compel: cli -- Show own version with option
  compel: Add fds helpers
  compel: Move bit helpers from criu into compel
  compel: Move in lock engine
  compel: Move in cpu interface
  compel: Move in sigframe code
  criu: log -- Attach compel log engine
  compel: Wire in ptrace interface
  compel: Move in parasite engine

 Makefile                                           |   5 +-
 Makefile.compel                                    |  29 ++-
 compel/Makefile                                    |  98 ++++++++-
 .../aarch64/plugins/include/asm/syscall-types.h    |   6 +-
 .../aarch64/plugins/std/syscalls/syscall-aux.S     |   3 +
 .../aarch64/plugins/std/syscalls/syscall-aux.h     |   3 +
 compel/arch/aarch64/src/lib/cpu.c                  |  28 +++
 compel/arch/aarch64/src/lib/handle-elf.c           |   3 +-
 .../aarch64/src/lib/include/compel}/asm/atomic.h   |   6 +-
 .../aarch64/src/lib/include/compel/asm/bitops.h    |   6 +
 .../src/lib/include/compel/asm/bitsperlong.h       |   6 +
 .../aarch64/src/lib/include/compel/asm/cmpxchg.h   |   4 +
 .../arch/aarch64/src/lib/include/compel/asm/cpu.h  |   6 +
 .../arch/aarch64/src/lib/include/compel/asm/fpu.h  |   4 +
 .../aarch64/src/lib/include/compel/asm/infect.h    |   6 +
 .../aarch64/src/lib/include/compel}/asm/page.h     |   6 +-
 .../src/lib/include/compel/asm/processor-flags.h   |   4 +
 .../aarch64/src/lib/include/compel/asm/processor.h |   4 +
 .../aarch64/src/lib/include/compel/asm/ptrace.c    |  40 ++++
 .../aarch64/src/lib/include/compel/asm/sigframe.h  |  53 +++++
 .../aarch64/src/lib/include/compel/asm/types.h     |  60 ++++++
 .../src/lib/include/{ => compel}/handle-elf.h      |   0
 .../arch/aarch64/src/lib}/infect.c                 |  59 ++----
 compel/arch/aarch64/src/lib/sigframe.c             |  11 +
 .../arch/arm/plugins/include/asm/syscall-types.h   |   6 +-
 .../arm/plugins/std/syscalls/Makefile.syscalls     |  22 +-
 .../arch/arm/plugins/std/syscalls/gen-syscalls.pl  |  16 +-
 compel/arch/arm/plugins/std/syscalls/syscall-aux.S |   3 +
 compel/arch/arm/plugins/std/syscalls/syscall-aux.h |   3 +
 compel/arch/arm/plugins/std/syscalls/syscall.def   |   4 +-
 compel/arch/arm/src/lib/cpu.c                      |  28 +++
 compel/arch/arm/src/lib/handle-elf.c               |   3 +-
 .../arch/arm/src/lib/include/compel}/asm/atomic.h  |   8 +-
 .../arch/arm/src/lib/include/compel/asm/bitops.h   |   6 +
 .../arm/src/lib/include/compel/asm/bitsperlong.h   |   6 +
 .../arch/arm/src/lib/include/compel/asm/cmpxchg.h  |   4 +
 compel/arch/arm/src/lib/include/compel/asm/cpu.h   |   6 +
 compel/arch/arm/src/lib/include/compel/asm/fpu.h   |   4 +
 .../arch/arm/src/lib/include/compel/asm/infect.h   |   6 +
 .../arch/arm/src/lib/include/compel}/asm/page.h    |   6 +-
 .../src/lib/include/compel}/asm/processor-flags.h  |   6 +-
 .../arm/src/lib/include/compel}/asm/processor.h    |   6 +-
 .../arch/arm/src/lib/include/compel/asm/ptrace.c   |  50 +++++
 .../arch/arm/src/lib/include/compel/asm/sigframe.h |  85 ++++++++
 compel/arch/arm/src/lib/include/compel/asm/types.h |  94 +++++++++
 .../arm/src/lib/include/{ => compel}/handle-elf.h  |   0
 .../arch/arm => compel/arch/arm/src/lib}/infect.c  |  66 +++---
 compel/arch/arm/src/lib/sigframe.c                 |  11 +
 .../arch/ppc64/plugins/include/asm/syscall-types.h |   6 +-
 .../ppc64/plugins/std/syscalls/Makefile.syscalls   |  28 +--
 .../ppc64/plugins/std/syscalls/syscall-ppc64.tbl   |   4 +-
 compel/arch/ppc64/src/lib/cpu.c                    |  42 ++++
 compel/arch/ppc64/src/lib/handle-elf.c             |   3 +-
 .../ppc64/src/lib/include/compel}/asm/atomic.h     |   8 +-
 .../ppc64/src/lib/include/compel}/asm/bitops.h     |  10 +-
 .../ppc64/src/lib/include/compel/asm/bitsperlong.h |   6 +
 .../ppc64/src/lib/include/compel}/asm/cmpxchg.h    |   6 +-
 compel/arch/ppc64/src/lib/include/compel/asm/cpu.h |  10 +
 compel/arch/ppc64/src/lib/include/compel/asm/fpu.h |   4 +
 .../arch/ppc64/src/lib/include/compel/asm/infect.h |   6 +
 .../arch/ppc64/src/lib/include/compel}/asm/page.h  |   6 +-
 .../src/lib/include/compel/asm/processor-flags.h   |   4 +
 .../ppc64/src/lib/include/compel/asm/processor.h   |   4 +
 .../arch/ppc64/src/lib/include/compel/asm/ptrace.c | 202 +++++++-----------
 .../ppc64/src/lib/include/compel/asm/sigframe.h    |  68 ++++++
 .../arch/ppc64/src/lib/include/compel/asm/types.h  | 114 ++++++++++
 .../src/lib/include/{ => compel}/handle-elf.h      |   0
 compel/arch/ppc64/src/lib/infect.c                 |  85 ++++++++
 compel/arch/ppc64/src/lib/sigframe.c               |  48 +++++
 compel/arch/x86/plugins/include/asm/prologue.h     |   6 +-
 .../arch/x86/plugins/include/asm/syscall-types.h   |   6 +-
 compel/arch/x86/plugins/std/prologue.S             |   2 +-
 .../x86/plugins/std/syscalls/Makefile.syscalls     |  50 ++---
 compel/arch/x86/plugins/std/syscalls/syscall32.c   |  24 +--
 .../arch/x86/plugins/std/syscalls/syscall_32.tbl   |   8 +-
 .../arch/x86/plugins/std/syscalls/syscall_64.tbl   |   4 +-
 compel/arch/x86/scripts/pack.lds.S                 |   7 +-
 compel/arch/x86/src/lib/cpu.c                      | 189 +++++++++++++++++
 compel/arch/x86/src/lib/handle-elf.c               |   3 +-
 .../arch/x86/src/lib/include/compel}/asm/atomic.h  |   8 +-
 .../arch/x86/src/lib/include/compel}/asm/bitops.h  |   8 +-
 .../x86/src/lib/include/compel/asm/bitsperlong.h   |  10 +
 .../arch/x86/src/lib/include/compel}/asm/cmpxchg.h |  16 +-
 .../arch/x86/src/lib/include/compel}/asm/cpu.h     |  29 +--
 compel/arch/x86/src/lib/include/compel/asm/fpu.h   |  98 +++++++++
 .../arch/x86/src/lib/include/compel/asm/infect.h   |   6 +
 .../arch/x86/src/lib/include/compel}/asm/page.h    |   6 +-
 .../src/lib/include/compel}/asm/processor-flags.h  |   6 +-
 .../x86/src/lib/include/compel/asm/processor.h     |   4 +
 .../arch/x86/src/lib/include/compel/asm/ptrace.c   | 217 +++++++++++++++++++
 .../arch/x86/src/lib/include/compel/asm/sigframe.h | 229 +++++++++++++++++++++
 compel/arch/x86/src/lib/include/compel/asm/types.h | 158 ++++++++++++++
 .../x86/src/lib/include/{ => compel}/handle-elf.h  |   0
 .../arch/x86 => compel/arch/x86/src/lib}/infect.c  |  98 +++------
 compel/arch/x86/src/lib/sigframe.c                 |  32 +++
 compel/include/compel/bug.h                        |   1 +
 compel/include/compel/compiler.h                   |   1 +
 compel/include/{ => compel}/elf32-types.h          |   0
 compel/include/{ => compel}/elf64-types.h          |   0
 compel/include/compel/err.h                        |   1 +
 {criu/include => compel/include/compel}/errno.h    |   6 +-
 .../include/compel}/infect-priv.h                  |   9 +-
 compel/include/compel/infect.h                     |  21 ++
 compel/include/compel/log.h                        |  61 ++++++
 compel/include/compel/piegen.h                     |  31 +++
 compel/include/compel/signal.h                     |   1 +
 compel/include/compel/xmalloc.h                    |   1 +
 compel/include/compiler.h                          |   1 -
 compel/include/int.h                               |   1 -
 compel/include/piegen.h                            |  54 -----
 compel/include/shmem.h                             |  10 -
 compel/include/uapi/compel.h                       |  17 --
 .../include/uapi/compel}/asm-generic/bitops.h      |   8 +-
 .../std => include/uapi/compel}/asm/.gitignore     |   0
 compel/include/uapi/compel/compel.h                | 217 +++++++++++++++++++
 compel/include/uapi/compel/cpu.h                   |  14 ++
 compel/include/uapi/compel/lock.h                  | 161 +++++++++++++++
 compel/include/uapi/compel/loglevels.h             |  13 ++
 compel/include/uapi/{ => compel}/plugins.h         |   6 +-
 compel/include/uapi/compel/ptrace.h                |  84 ++++++++
 compel/include/uapi/compel/sigframe-common.h       |  59 ++++++
 compel/plugins/Makefile                            |   8 +
 compel/plugins/fds/fds.c                           |   8 +-
 compel/plugins/include/shmem-priv.h                |  10 +
 compel/plugins/include/std-priv.h                  |   6 +-
 .../include/uapi/compel/plugins/plugin-fds.h       |  78 +++++++
 .../uapi/{ => compel/plugins}/plugin-shmem.h       |   6 +-
 .../include/uapi/compel/plugins/plugin-std.h       |   7 +
 .../include/uapi/compel/plugins/std/asm/.gitignore |   0
 .../include/uapi/{ => compel/plugins}/std/string.h |   6 +-
 .../uapi/{ => compel/plugins}/std/syscall-types.h  |  19 +-
 compel/plugins/include/uapi/plugin-fds.h           |  27 ---
 compel/plugins/include/uapi/plugin-std.h           |   7 -
 compel/plugins/shmem/shmem.c                       |   9 +-
 compel/plugins/std/std.c                           |   5 +-
 compel/plugins/std/string.c                        |  12 +-
 compel/src/lib/argv.c                              |  41 ++++
 compel/src/lib/compel.c                            |  17 ++
 compel/src/lib/fds.c                               |   4 +
 compel/src/lib/handle-elf.c                        |  41 ++--
 {criu => compel/src/lib}/infect-rpc.c              |  17 +-
 {criu => compel/src/lib}/infect.c                  | 129 ++++++++----
 compel/src/lib/log-host.c                          |   1 +
 compel/src/lib/log.c                               | 104 ++++++++++
 compel/src/lib/pack-host.c                         |   1 +
 compel/src/lib/pack.c                              |  83 ++++++++
 {criu => compel/src/lib}/ptrace.c                  |  43 ++--
 compel/src/main.c                                  |  40 +++-
 compel/src/shared/fds.c                            | 121 +++++++----
 criu/Makefile                                      |   7 +-
 criu/Makefile.crtools                              |   9 +-
 criu/aio.c                                         |   5 +-
 criu/arch/aarch64/Makefile                         |   3 -
 criu/arch/aarch64/cpu.c                            |   5 -
 criu/arch/aarch64/crtools.c                        |  16 +-
 criu/arch/aarch64/include/asm/bitops.h             |   7 -
 criu/arch/aarch64/include/asm/bitsperlong.h        |   6 -
 criu/arch/aarch64/include/asm/cpu.h                |   1 -
 criu/arch/aarch64/include/asm/dump.h               |   2 +
 criu/arch/aarch64/include/asm/fpu.h                |   4 -
 criu/arch/aarch64/include/asm/parasite-syscall.h   |  12 --
 criu/arch/aarch64/include/asm/processor-flags.h    |   4 -
 criu/arch/aarch64/include/asm/restorer.h           |  63 ------
 criu/arch/aarch64/include/asm/types.h              |  54 +----
 criu/arch/aarch64/restorer.c                       |   5 +-
 criu/arch/aarch64/vdso-pie.c                       |   3 +-
 criu/arch/arm/Makefile                             |   3 -
 criu/arch/arm/cpu.c                                |   5 -
 criu/arch/arm/crtools.c                            |  20 +-
 criu/arch/arm/include/asm/bitops.h                 |   7 -
 criu/arch/arm/include/asm/bitsperlong.h            |   6 -
 criu/arch/arm/include/asm/cpu.h                    |   1 -
 criu/arch/arm/include/asm/dump.h                   |   2 +
 criu/arch/arm/include/asm/fpu.h                    |   4 -
 criu/arch/arm/include/asm/parasite-syscall.h       |  11 -
 criu/arch/arm/include/asm/restorer.h               |  94 ---------
 criu/arch/arm/include/asm/types.h                  |  93 +--------
 criu/arch/arm/restorer.c                           |   5 +-
 criu/arch/ppc64/Makefile                           |   3 -
 criu/arch/ppc64/cpu.c                              |  17 +-
 criu/arch/ppc64/crtools.c                          |  73 +------
 criu/arch/ppc64/include/asm/bitsperlong.h          |   6 -
 criu/arch/ppc64/include/asm/cpu.h                  |   1 -
 criu/arch/ppc64/include/asm/dump.h                 |   2 +
 criu/arch/ppc64/include/asm/fpu.h                  |   4 -
 criu/arch/ppc64/include/asm/parasite-syscall.h     |  12 --
 criu/arch/ppc64/include/asm/processor-flags.h      |   4 -
 criu/arch/ppc64/include/asm/restorer.h             |  66 ------
 criu/arch/ppc64/include/asm/types.h                |  87 +-------
 criu/arch/ppc64/restorer.c                         |   5 +-
 criu/arch/ppc64/vdso-pie.c                         |   3 +-
 criu/arch/x86/Makefile                             |   3 -
 criu/arch/x86/cpu.c                                | 181 +---------------
 criu/arch/x86/crtools.c                            | 202 +-----------------
 criu/arch/x86/include/asm/bitsperlong.h            |  10 -
 criu/arch/x86/include/asm/dump.h                   |   6 +-
 criu/arch/x86/include/asm/fpu.h                    | 102 ---------
 criu/arch/x86/include/asm/parasite-syscall.h       |  23 ---
 criu/arch/x86/include/asm/restorer.h               | 213 +------------------
 criu/arch/x86/include/asm/types.h                  | 153 +-------------
 criu/arch/x86/restorer.c                           |   5 +-
 criu/arch/x86/sigaction_compat.c                   |   5 +-
 criu/arch/x86/sys-exec-tbl.c                       |   2 +-
 criu/arch/x86/vdso-pie.c                           |   3 +-
 criu/bfd.c                                         |   3 +-
 criu/bitmap.c                                      |   2 +-
 criu/cgroup.c                                      |   3 +-
 criu/cr-exec.c                                     |   3 -
 criu/cr-restore.c                                  |   9 +-
 criu/files-reg.c                                   |   3 +-
 criu/fsnotify.c                                    |   3 +-
 criu/include/cpu.h                                 |   3 +-
 criu/include/infect-rpc.h                          |  20 --
 criu/include/infect.h                              | 108 ----------
 criu/include/lock.h                                | 154 +-------------
 criu/include/pagemap-cache.h                       |   4 +-
 criu/include/parasite-syscall.h                    |   5 -
 criu/include/parasite.h                            |  31 +--
 criu/include/proc_parse.h                          |   4 +-
 criu/include/ptrace.h                              |  73 +------
 criu/include/restorer.h                            |   3 +-
 criu/include/sigframe.h                            |  44 +---
 criu/include/syscall-types.h                       |  57 -----
 criu/kerndat.c                                     |   3 +-
 criu/log.c                                         |   4 +
 criu/mem.c                                         |   4 +-
 criu/parasite-syscall.c                            |  63 +++---
 criu/pie/Makefile                                  |   7 +-
 criu/pie/Makefile.library                          |   5 +-
 criu/pie/log-simple.c                              |   4 +-
 criu/pie/parasite-vdso.c                           |   4 +-
 criu/pie/parasite.c                                |  15 +-
 criu/pie/pie-relocs.c                              |   3 +-
 criu/pie/pie-relocs.h                              |   2 +-
 criu/pie/restorer.c                                |   3 +-
 criu/pie/util-fd.c                                 |   2 +-
 criu/pie/util.c                                    |   2 +-
 criu/seize.c                                       |   3 +-
 criu/shmem.c                                       |   5 +-
 criu/stats.c                                       |   2 +-
 criu/uffd.c                                        |   5 +-
 criu/vdso.c                                        |   5 +-
 242 files changed, 3860 insertions(+), 2876 deletions(-)
 create mode 100644 compel/arch/aarch64/src/lib/cpu.c
 rename {criu/arch/aarch64/include => compel/arch/aarch64/src/lib/include/compel}/asm/atomic.h (94%)
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/bitops.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/bitsperlong.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/cmpxchg.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/cpu.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/fpu.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/infect.h
 rename {criu/arch/aarch64/include => compel/arch/aarch64/src/lib/include/compel}/asm/page.h (72%)
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/processor-flags.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/processor.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/ptrace.c
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/sigframe.h
 create mode 100644 compel/arch/aarch64/src/lib/include/compel/asm/types.h
 rename compel/arch/aarch64/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename {criu/arch/aarch64 => compel/arch/aarch64/src/lib}/infect.c (59%)
 create mode 100644 compel/arch/aarch64/src/lib/sigframe.c
 create mode 100644 compel/arch/arm/src/lib/cpu.c
 rename {criu/arch/arm/include => compel/arch/arm/src/lib/include/compel}/asm/atomic.h (94%)
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/bitops.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/bitsperlong.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/cmpxchg.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/cpu.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/fpu.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/infect.h
 rename {criu/arch/arm/include => compel/arch/arm/src/lib/include/compel}/asm/page.h (71%)
 rename {criu/arch/arm/include => compel/arch/arm/src/lib/include/compel}/asm/processor-flags.h (90%)
 rename {criu/arch/arm/include => compel/arch/arm/src/lib/include/compel}/asm/processor.h (81%)
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/ptrace.c
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/sigframe.h
 create mode 100644 compel/arch/arm/src/lib/include/compel/asm/types.h
 rename compel/arch/arm/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename {criu/arch/arm => compel/arch/arm/src/lib}/infect.c (57%)
 create mode 100644 compel/arch/arm/src/lib/sigframe.c
 create mode 100644 compel/arch/ppc64/src/lib/cpu.c
 rename {criu/arch/ppc64/include => compel/arch/ppc64/src/lib/include/compel}/asm/atomic.h (93%)
 rename {criu/arch/ppc64/include => compel/arch/ppc64/src/lib/include/compel}/asm/bitops.h (97%)
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/bitsperlong.h
 rename {criu/arch/ppc64/include => compel/arch/ppc64/src/lib/include/compel}/asm/cmpxchg.h (94%)
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/cpu.h
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/fpu.h
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/infect.h
 rename {criu/arch/ppc64/include => compel/arch/ppc64/src/lib/include/compel}/asm/page.h (79%)
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/processor-flags.h
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/processor.h
 rename criu/arch/ppc64/infect.c => compel/arch/ppc64/src/lib/include/compel/asm/ptrace.c (69%)
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/sigframe.h
 create mode 100644 compel/arch/ppc64/src/lib/include/compel/asm/types.h
 rename compel/arch/ppc64/src/lib/include/{ => compel}/handle-elf.h (100%)
 create mode 100644 compel/arch/ppc64/src/lib/infect.c
 create mode 100644 compel/arch/ppc64/src/lib/sigframe.c
 create mode 100644 compel/arch/x86/src/lib/cpu.c
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/atomic.h (90%)
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/bitops.h (94%)
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/bitsperlong.h
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/cmpxchg.h (88%)
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/cpu.h (94%)
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/fpu.h
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/infect.h
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/page.h (71%)
 rename {criu/arch/x86/include => compel/arch/x86/src/lib/include/compel}/asm/processor-flags.h (88%)
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/processor.h
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/ptrace.c
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/sigframe.h
 create mode 100644 compel/arch/x86/src/lib/include/compel/asm/types.h
 rename compel/arch/x86/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename {criu/arch/x86 => compel/arch/x86/src/lib}/infect.c (53%)
 create mode 100644 compel/arch/x86/src/lib/sigframe.c
 create mode 120000 compel/include/compel/bug.h
 create mode 120000 compel/include/compel/compiler.h
 rename compel/include/{ => compel}/elf32-types.h (100%)
 rename compel/include/{ => compel}/elf64-types.h (100%)
 create mode 120000 compel/include/compel/err.h
 rename {criu/include => compel/include/compel}/errno.h (59%)
 rename {criu/include => compel/include/compel}/infect-priv.h (88%)
 create mode 100644 compel/include/compel/infect.h
 create mode 100644 compel/include/compel/log.h
 create mode 100644 compel/include/compel/piegen.h
 create mode 120000 compel/include/compel/signal.h
 create mode 120000 compel/include/compel/xmalloc.h
 delete mode 120000 compel/include/compiler.h
 delete mode 120000 compel/include/int.h
 delete mode 100644 compel/include/piegen.h
 delete mode 100644 compel/include/shmem.h
 delete mode 100644 compel/include/uapi/compel.h
 rename {criu/include => compel/include/uapi/compel}/asm-generic/bitops.h (94%)
 rename compel/{plugins/include/uapi/std => include/uapi/compel}/asm/.gitignore (100%)
 create mode 100644 compel/include/uapi/compel/compel.h
 create mode 100644 compel/include/uapi/compel/cpu.h
 create mode 100644 compel/include/uapi/compel/lock.h
 create mode 100644 compel/include/uapi/compel/loglevels.h
 rename compel/include/uapi/{ => compel}/plugins.h (89%)
 create mode 100644 compel/include/uapi/compel/ptrace.h
 create mode 100644 compel/include/uapi/compel/sigframe-common.h
 create mode 100644 compel/plugins/include/shmem-priv.h
 create mode 100644 compel/plugins/include/uapi/compel/plugins/plugin-fds.h
 rename compel/plugins/include/uapi/{ => compel/plugins}/plugin-shmem.h (75%)
 create mode 100644 compel/plugins/include/uapi/compel/plugins/plugin-std.h
 create mode 100644 compel/plugins/include/uapi/compel/plugins/std/asm/.gitignore
 rename compel/plugins/include/uapi/{ => compel/plugins}/std/string.h (87%)
 rename compel/plugins/include/uapi/{ => compel/plugins}/std/syscall-types.h (72%)
 delete mode 100644 compel/plugins/include/uapi/plugin-fds.h
 delete mode 100644 compel/plugins/include/uapi/plugin-std.h
 create mode 100644 compel/src/lib/argv.c
 create mode 100644 compel/src/lib/compel.c
 create mode 100644 compel/src/lib/fds.c
 rename {criu => compel/src/lib}/infect-rpc.c (90%)
 rename {criu => compel/src/lib}/infect.c (90%)
 create mode 120000 compel/src/lib/log-host.c
 create mode 100644 compel/src/lib/log.c
 create mode 120000 compel/src/lib/pack-host.c
 create mode 100644 compel/src/lib/pack.c
 rename {criu => compel/src/lib}/ptrace.c (70%)
 delete mode 100644 criu/arch/aarch64/include/asm/bitops.h
 delete mode 100644 criu/arch/aarch64/include/asm/bitsperlong.h
 delete mode 100644 criu/arch/aarch64/include/asm/cpu.h
 delete mode 100644 criu/arch/aarch64/include/asm/fpu.h
 delete mode 100644 criu/arch/aarch64/include/asm/parasite-syscall.h
 delete mode 100644 criu/arch/aarch64/include/asm/processor-flags.h
 delete mode 100644 criu/arch/arm/include/asm/bitops.h
 delete mode 100644 criu/arch/arm/include/asm/bitsperlong.h
 delete mode 100644 criu/arch/arm/include/asm/cpu.h
 delete mode 100644 criu/arch/arm/include/asm/fpu.h
 delete mode 100644 criu/arch/arm/include/asm/parasite-syscall.h
 delete mode 100644 criu/arch/ppc64/include/asm/bitsperlong.h
 delete mode 100644 criu/arch/ppc64/include/asm/cpu.h
 delete mode 100644 criu/arch/ppc64/include/asm/fpu.h
 delete mode 100644 criu/arch/ppc64/include/asm/parasite-syscall.h
 delete mode 100644 criu/arch/ppc64/include/asm/processor-flags.h
 delete mode 100644 criu/arch/x86/include/asm/bitsperlong.h
 delete mode 100644 criu/arch/x86/include/asm/fpu.h
 delete mode 100644 criu/arch/x86/include/asm/parasite-syscall.h
 delete mode 100644 criu/include/infect-rpc.h
 delete mode 100644 criu/include/infect.h
 delete mode 100644 criu/include/syscall-types.h

-- 
2.7.4



More information about the CRIU mailing list