[CRIU] [PATCH v6 0/9] Add support of deleted unix sockets

Cyrill Gorcunov gorcunov at gmail.com
Mon May 21 23:05:52 MSK 2018


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

v5:
 - reworked name trasition on uuid based scheme
 - print inodes in decimal form

v6:
 - Use fdstore to keep deleted sockets
 - Fix for pid_rst_prio

Cyrill Gorcunov (9):
  restore: Use pstree_pid_cmp helper in pid_rst_prio
  sockets: Add sock_type_name and tcp_state_name helpers
  unix: Unify id and ino prints
  unix: Move unix_resolve_name declaration on top
  unix: Rename unlink_stale to unlink_sk
  unix: Use decimal format for inode printing
  unix: Add support of ghost sockets
  unix: Improve debug message when collecting socket
  unix: test -- Add sk-unix01 test

 criu/cr-restore.c               |   4 +
 criu/include/pid.h              |  12 +-
 criu/include/sockets.h          |   4 +
 criu/pstree.c                   |  36 ++++
 criu/sk-unix.c                  | 432 ++++++++++++++++++++++++++++++++--------
 criu/sockets.c                  |  44 ++++
 test/zdtm/static/Makefile       |   1 +
 test/zdtm/static/sk-unix01.c    | 367 ++++++++++++++++++++++++++++++++++
 test/zdtm/static/sk-unix01.desc |   1 +
 9 files changed, 812 insertions(+), 89 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