[CRIU] [PATCH 0/4] restore read-only bind-mounts correctly

Andrey Vagin avagin at openvz.org
Tue Aug 11 08:33:32 PDT 2015


For that we need to handle super-block and mount flags separately

Andrey Vagin (4):
  proc_parse: search the uid/gid options only for sb opts
  zdtm: check read-only bind mounts
  mount: handle mnt_flags and sb_flags separatly
  mount: handle old images where sb and mnt options were not separated

 include/proc_parse.h                |  1 +
 mount.c                             | 36 ++++++++++++----
 proc_parse.c                        | 39 ++++++++++-------
 protobuf/mnt.proto                  |  2 +
 test/zdtm.sh                        |  3 +-
 test/zdtm/live/static/Makefile      |  1 +
 test/zdtm/live/static/mnt_ro_bind.c | 84 +++++++++++++++++++++++++++++++++++++
 7 files changed, 142 insertions(+), 24 deletions(-)
 create mode 100644 test/zdtm/live/static/mnt_ro_bind.c

-- 
2.1.0



More information about the CRIU mailing list