[CRIU] [PATCH 0/7] ns procfs handling, v2

Cyrill Gorcunov gorcunov at openvz.org
Wed May 8 09:00:34 EDT 2013


Hi guys, here is a second version of ns handling, please
take a look. Pavel, is that somehow close to what you have in mind?

Cyrill Gorcunov (7):
  files: Add fd_parms::nmlink for fd/$n name passing to subroutines
  files: Add fill_fdlink helper
  namespace: Add parse_ns_proc helper
  files: Yield error in case if procfs namespace reference
  protobuf: Introduce ns_file_entry
  files: Add c/r for /proc/$pid/ns/$ids references
  test: zdtm -- Add proc-self test

 cr-restore.c                      |   3 +
 cr-show.c                         |   6 ++
 files-reg.c                       |  22 ++++-
 files.c                           |  42 ++++++++-
 image.c                           |   1 +
 include/crtools.h                 |   2 +
 include/files.h                   |  13 +++
 include/magic.h                   |   1 +
 include/namespaces.h              |  30 ++++++
 include/protobuf.h                |   1 +
 namespaces.c                      | 188 ++++++++++++++++++++++++++++++++++++++
 protobuf.c                        |   2 +
 protobuf/Makefile                 |   1 +
 protobuf/fdinfo.proto             |   1 +
 protobuf/nsfile.proto             |   5 +
 test/zdtm/live/static/Makefile    |   1 +
 test/zdtm/live/static/proc-self.c |  73 +++++++++++++++
 17 files changed, 386 insertions(+), 6 deletions(-)
 create mode 100644 protobuf/nsfile.proto
 create mode 100644 test/zdtm/live/static/proc-self.c

-- 
1.8.1.4



More information about the CRIU mailing list