[CRIU] [PATCH 00/12] compel: Add __must_check

Dmitry Safonov dima at arista.com
Sun Nov 10 01:20:33 MSK 2019


And make CRIU cleanup tasks and return error upon a failure when the
network is unlocked.

Dmitry Safonov (12):
  lib/ptrace: Allow PTRACE_PEEKDATA with errno != 0
  lib/ptrace: Be more elaborate about failures
  compel/infect: Warn if close() failed on memfd
  compel: Mark compat argument of __NR() as used
  lib/infect: Check if compel succeed in executing munmap
  cr-dump: Try to cure remote on err-pathes
  cr-dump: Warn if unmapping local memfd failed
  cr-restore: Warn if restorer can't be unmapped
  parasite-syscall: Log if can't cure on failed infection
  compel/infect: Detach but fail compel_resume_task()
  criu: Kill tasks even when the network is unlocked
  compel/criu: Add __must_check

 compel/arch/aarch64/src/lib/include/syscall.h |  2 +-
 .../src/lib/include/uapi/asm/infect-types.h   |  2 +-
 compel/arch/arm/src/lib/include/syscall.h     |  2 +-
 .../src/lib/include/uapi/asm/infect-types.h   |  2 +-
 compel/arch/ppc64/src/lib/include/syscall.h   |  2 +-
 .../src/lib/include/uapi/asm/infect-types.h   |  2 +-
 .../src/lib/include/uapi/asm/infect-types.h   |  2 +-
 compel/arch/s390/src/lib/infect.c             |  4 +-
 compel/include/uapi/cpu.h                     |  2 +-
 compel/include/uapi/infect-rpc.h              |  6 +-
 compel/include/uapi/infect-util.h             |  5 +-
 compel/include/uapi/infect.h                  | 39 +++++++------
 compel/include/uapi/ptrace.h                  |  7 ++-
 compel/include/uapi/sigframe-common.h         |  5 +-
 compel/plugins/include/uapi/plugin-fds.h      |  2 +-
 compel/plugins/include/uapi/std/infect.h      |  8 ++-
 compel/plugins/include/uapi/std/log.h         |  1 +
 compel/src/lib/infect.c                       | 42 ++++++++++----
 compel/src/lib/ptrace.c                       | 52 ++++++++++++++----
 criu/cr-dump.c                                | 20 +++++--
 criu/cr-restore.c                             | 55 ++++++++++++-------
 criu/parasite-syscall.c                       |  3 +-
 criu/seize.c                                  |  2 +-
 include/common/compiler.h                     | 27 +++++++++
 24 files changed, 203 insertions(+), 91 deletions(-)

-- 
2.24.0



More information about the CRIU mailing list