Fix a few issues to dump/restore Docker containers with userns

Submitted by Andrei Vagin on Oct. 26, 2016, 8:55 p.m.

Details

Reviewer None
Submitted Oct. 26, 2016, 8:55 p.m.
Last Updated Oct. 28, 2016, 6:57 p.m.
Revision 2

Cover Letter

From: Andrei Vagin <avagin@virtuozzo.com>

v2: resort code between patches in a proper way

Andrei Vagin (4):
  mount: don't apply superblock flags for external mounts
  mount: apply superblock flags from the userns daemon
  zdtm: check read-only tmpfs in userns
  mount: set is_ns_root on dump

 criu/mount.c                      | 43 +++++++++++++++++++++++++++++----
 criu/proc_parse.c                 |  2 ++
 test/zdtm/static/Makefile         |  1 +
 test/zdtm/static/tempfs_ro02.c    | 50 +++++++++++++++++++++++++++++++++++++++
 test/zdtm/static/tempfs_ro02.desc |  1 +
 5 files changed, 93 insertions(+), 4 deletions(-)
 create mode 100644 test/zdtm/static/tempfs_ro02.c
 create mode 100644 test/zdtm/static/tempfs_ro02.desc
  

Revisions

Patches download mbox

Tests

Patches download mbox

Tests