1. 14 Apr, 2014 2 commits
  2. 11 Apr, 2014 11 commits
  3. 09 Apr, 2014 7 commits
  4. 08 Apr, 2014 4 commits
  5. 07 Apr, 2014 1 commit
  6. 04 Apr, 2014 3 commits
  7. 02 Apr, 2014 3 commits
  8. 01 Apr, 2014 2 commits
  9. 25 Mar, 2014 2 commits
  10. 24 Mar, 2014 4 commits
  11. 22 Mar, 2014 1 commit
    • Andrey Vagin's avatar
      mount: don't clean up propogation options for the root mount (v2) · c5afed06
      Andrey Vagin authored
      Currently we marks all mounts as private before restoring mntns. We do
      these to avoid problem with pivot_root.
      It's wrong, because the root mount can be slave for an external shared
      group. The root mount is not mounted by CRIU, so here is nothing wrong.
      
      Now look at the pivot_root code in kernel
      if (IS_MNT_SHARED(old_mnt) ||
      	IS_MNT_SHARED(new_mnt->mnt_parent) ||
      	IS_MNT_SHARED(root_mnt->mnt_parent))
      	goto out4;
      
      So we don't need to change options for all mounts. We need to remount
      / and the parent of the new root. It's safe, because we already in another
      mntns.
      
      v2: simplify code
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      c5afed06