[CRIU] [PATCH 0/5] Timerfd: implement c/r, v2

Cyrill Gorcunov gorcunov at openvz.org
Thu Jun 26 12:12:47 PDT 2014


v2: Reworked restore procedure so that we're calling
timer_settime in pie restorer code. Which means I need
help from ARM camp to add proper syscall definition,
Alexander?

Cyrill Gorcunov (5):
  timerfd: arch, x86 -- Add sys_timerfd_settime syscall
  timerfd: protobuf -- Add timerfd_entry
  timerfd: Add protobuf entries into the image
  timerfd: Implement c/r procedure
  timerfd: zdtm -- Add simple testcase

 Makefile.crtools                |   1 +
 arch/x86/syscall-x86-64.def     |   1 +
 cr-restore.c                    |   8 ++
 cr-show.c                       |   1 +
 files.c                         |  13 +++
 image-desc.c                    |   1 +
 include/image-desc.h            |   1 +
 include/magic.h                 |   1 +
 include/proc_parse.h            |   2 +
 include/protobuf-desc.h         |   5 +-
 include/restorer.h              |   9 ++
 include/rst_info.h              |   3 +
 include/timerfd.h               |  20 ++++
 pie/restorer.c                  |  25 +++++
 proc_parse.c                    |  60 +++++++++++
 protobuf-desc.c                 |   1 +
 protobuf/Makefile               |   1 +
 protobuf/fdinfo.proto           |   1 +
 protobuf/timerfd.proto          |  16 +++
 test/zdtm.sh                    |   1 +
 test/zdtm/live/static/Makefile  |   1 +
 test/zdtm/live/static/timerfd.c | 166 ++++++++++++++++++++++++++++++
 timerfd.c                       | 218 ++++++++++++++++++++++++++++++++++++++++
 23 files changed, 554 insertions(+), 2 deletions(-)
 create mode 100644 include/timerfd.h
 create mode 100644 protobuf/timerfd.proto
 create mode 100644 test/zdtm/live/static/timerfd.c
 create mode 100644 timerfd.c

-- 
1.9.3


More information about the CRIU mailing list