[CRIU] [PATCH 00/18 v2] unix: Restore deleted dgram sockets

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 12 06:58:20 PDT 2017


Hi, here is an updated series for dgram sockets. Please consider
merging. I'll continue working on it because current solution
is still not a final one -- need to address stream sockets
and don't mangle names completely, which means more serios
redesign needed.
----------------------------------------------------------------
The following changes since commit 570db704bc101477da4a9ba30912c91953aeda0c:

  RPC: add version check interface (2017-04-08 01:38:08 +0300)

are available in the git repository at:

  git://github.com/cyrillos/crtools.git unix-7

for you to fetch changes up to 13ab949ccaed9bbf3e75b0a138a33b219542ca84:

  test: Add sk-unix01 test (2017-04-12 15:44:56 +0300)

----------------------------------------------------------------
Cyrill Gorcunov (18):
      common: arch, ppc64 -- Add missing atomic_dec_and_test
      restore: Add add_post_prepare_cb_once helper
      tty: Use add_post_prepare_cb_once
      pipes: Use add_post_prepare_cb_once
      sk-unix: Make can_dump_unix_sk being boolean
      sk-unix: Adjust unix_sk_cinfo members
      sk-unix: Adjust unix_sk_info members
      sk-unix: Use native types in unix_sk_info
      sk-unix: Use generic xptr_pull in dump_one_unix_fd
      sk-unix: Drop empty line
      sk-unix: Use add_post_prepare_cb_once helper
      sk-unix: Drop empty line at eof
      sk-unix: Make USK_ flags in shift form
      sk-unix: Collect deleted identical addresses in the queues
      sk-unix: Don't warn if nothing to unlink
      sk-unix: Print cwd been restored if @name_dir is present
      sk-unix: Add ability to restore sockets with deleted vfs addresses
      test: Add sk-unix01 test

 criu/include/crtools.h                 |  13 ++++
 criu/pipes.c                           |   5 +-
 criu/sk-unix.c                         | 405 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
 criu/tty.c                             |   9 +--
 include/common/arch/ppc64/asm/atomic.h |   2 +
 test/zdtm/static/Makefile              |   1 +
 test/zdtm/static/sk-unix01.c           | 305 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/zdtm/static/sk-unix01.desc        |   1 +
 8 files changed, 660 insertions(+), 81 deletions(-)
 create mode 100644 test/zdtm/static/sk-unix01.c
 create mode 100644 test/zdtm/static/sk-unix01.desc
-- 
2.7.4



More information about the CRIU mailing list