[CRIU] [PATCH 00/11] send/recv_fds and fowners take 3

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 28 09:36:30 EDT 2012


Here is another attempt to address all nits found in
previous series. Please review, I tried to minimize
impact over all source code.

Pavel, please drop everything from previous series.

Cyrill Gorcunov (11):
  rb: Drop rb_attach_node
  Add builtin_memcpy helper
  types: Add SCM limits
  util-net: Add declaration of scm_fdset structure
  util-net: Switch send_fd/recv_fd to use scm_fdset structure
  util-net: Itroduce send_fds/recv_fds routines
  parasite: Add interface for file descriptors draining
  dump: Use parasite file descriptors draining
  types: Add F_GETOWNER_UIDS opcode
  files,pipes: Add dump and restore of file owners
  zdtm: Add file owners test on pipes

 cr-dump.c                         |  194 +++++++++++++++++++++++++------------
 cr-restore.c                      |    6 +
 cr-show.c                         |    9 ++
 files.c                           |   46 +++++++++
 include/builtins.h                |   22 ++++
 include/files.h                   |    1 +
 include/image.h                   |   11 ++
 include/parasite-syscall.h        |    2 +
 include/parasite.h                |   14 +++
 include/rbtree.h                  |    5 -
 include/types.h                   |    9 ++
 include/util-net.h                |   41 ++++++++-
 parasite-syscall.c                |   50 ++++++++++
 parasite.c                        |   20 ++++
 test/zdtm.sh                      |    1 +
 test/zdtm/live/static/Makefile    |    1 +
 test/zdtm/live/static/file_fown.c |   95 ++++++++++++++++++
 util-net.c                        |  147 ++++++++++++++++++++--------
 18 files changed, 560 insertions(+), 114 deletions(-)
 create mode 100644 include/builtins.h
 create mode 100644 test/zdtm/live/static/file_fown.c

-- 
1.7.7.6


More information about the CRIU mailing list