[CRIU] [PATCH 00/16] sk-unix: Cleanups and preparatory for enhancements

Cyrill Gorcunov gorcunov at openvz.org
Fri Dec 9 09:17:00 PST 2016


While I'm working on enhancing unix sockets to support established
states with removed addresses/paths there are a few commits, cleanup
mostly. Please review.

Cyrill Gorcunov (16):
  rst-malloc: Update deprecated MAP_ANON flag
  util: Add rmdirp helper
  Add add_post_prepare_cb_once helper
  sk-unix: Add unix_addr_match helper
  sk-unix: Move struct unix_sk_info on top of file
  sk-unix: Align unix_sk_cinfo members
  sk-unix: Align unix_desc_ops members
  sk-unix: Unify @state print
  sk-unix: Drop redundant empty line
  sk-unix: Zeorify address for AF_UNSPEC
  sk-unix: Make sure the paired sockets are in good state
  sk-unix: Don't warn about unlinked socket if fs is clear
  sk-unix: Define constans for unix_sk_entry::uflags
  sk-unix: Use add_post_prepare_cb_once helper
  sk-unix: Rename unix_sk_entry::peer to peer_ino
  sk-unix: Shrink condition in resolve_unix_peers

 criu/include/crtools.h |   9 +++
 criu/include/util.h    |   2 +
 criu/rst-malloc.c      |   4 +-
 criu/sk-unix.c         | 210 ++++++++++++++++++++++++++++---------------------
 criu/util.c            |  40 ++++++++++
 images/sk-unix.proto   |  12 ++-
 6 files changed, 185 insertions(+), 92 deletions(-)

-- 
2.7.4



More information about the CRIU mailing list