[CRIU] [PATCH 00/11] files: open files from correct mount points (v2)

Andrey Vagin avagin at openvz.org
Sun Aug 3 11:31:14 PDT 2014


Currently we give absolute path in openat(), so it opens relative
to the current root. The main idea is in the "file: use ralative path
for retoring files" patch.

v2: fix comments from Pavel

Andrey Vagin (11):
  zdtm: rollback cwd only if a test case is executed in namespaces
  mount: execute collect shared for all mounts
  mount: save remapped links on tmpfs
  mount: don't set m->bind if m is already mounted
  mount: save local mount point paths on restore
  mount: add helper mntns_get_root_by_mnt_id
  ghost: create ghost devices and directories in a specified ns
  link-remap: open link-remap files from correct mountpoints
  notify: open files form a correct mount points (v2)
  file: use ralative path for retoring files
  zdtm: Check that files from alien mnt ns are handled (v2)

 cr-dump.c                          |   6 +-
 files-reg.c                        |  85 +++++++++++++++++------
 fsnotify.c                         |  21 ++++--
 include/files-reg.h                |   1 +
 include/mount.h                    |   1 +
 include/proc_parse.h               |   4 ++
 mount.c                            |  44 +++++++++++-
 test/zdtm.sh                       |   6 +-
 test/zdtm/live/static/Makefile     |   1 +
 test/zdtm/live/static/mntns_open.c | 134 +++++++++++++++++++++++++++++++++++++
 10 files changed, 271 insertions(+), 32 deletions(-)
 create mode 100644 test/zdtm/live/static/mntns_open.c

--
1.8.5.3



More information about the CRIU mailing list