[CRIU] [PATCH 00/17] unix: Add support for ghost unix sockets

Cyrill Gorcunov gorcunov at gmail.com
Sun Apr 1 23:07:26 MSK 2018


To support the case where connetion established but then socket
path removed from filesystem and name is reused for new connection.

https://travis-ci.org/cyrillos/criu/builds/360927937

Cyrill Gorcunov (17):
  unix: Use one word log prefix
  unix: Unify id and ino prints
  unix: Use uint32_t instead of u32
  unix: Move unix_resolve_name declaration on top
  unix: Adjust unix_sk_info members
  unix: Adjust unix_sk_cinfo members
  unix: Adjust unix_desc_ops members
  unix: Use generic xptr_pull in dump_one_unix_fd
  unix: Drop empty line at eof
  unix: Don's spam with warning if nothing to unlink
  unix: Print reverted dir info if only directory provided
  unix: Unify printings on peer open
  unix: Improve init_unix_sk_info
  unix: Rename unlink_stale to unlink_sk
  arch,ppc64: Add missing atomic_dec_and_test helper
  unix: Add support of ghost sockets
  unix: test -- Add sk-unix01 test

 criu/cr-restore.c                      |   4 +
 criu/include/sockets.h                 |   1 +
 criu/sk-unix.c                         | 460 ++++++++++++++++++++++++---------
 include/common/arch/ppc64/asm/atomic.h |   2 +
 test/zdtm/static/Makefile              |   1 +
 test/zdtm/static/sk-unix01.c           | 330 +++++++++++++++++++++++
 test/zdtm/static/sk-unix01.desc        |   1 +
 7 files changed, 681 insertions(+), 118 deletions(-)
 create mode 100644 test/zdtm/static/sk-unix01.c
 create mode 100644 test/zdtm/static/sk-unix01.desc

-- 
2.14.3



More information about the CRIU mailing list