1. 08 Jul, 2013 1 commit
    • Andrey Vagin's avatar
      mount: don't destruct an external mount-namespace (v2) · 7aaef1ee
      Andrey Vagin authored
      If a parent mount point is shared with exteranl mntns, a child will be
      umounted from the external mntns too.
      
      For example:
      $ mount -t tmpfs xxx /root/tmp/
      $ mount --make-shared tmp
      $ mkdir tmp/xxx
      $ mount -t tmpfs xxx /root/tmp/xxx
      $ touch tmp/xxx/a
      
      $ unshare -m umount tmp/xxx
      $ ls -l tmp/xxx/a
      ls: cannot access tmp/xxx/a: No such file or directory
      
      This patch changes a parent mnt to private for umounting childrens.
      
      v2: exit if a mount point can not be marked ad private
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      7aaef1ee
  2. 04 Jul, 2013 1 commit
  3. 02 Jul, 2013 2 commits
  4. 03 Jul, 2013 1 commit
  5. 02 Jul, 2013 2 commits
  6. 01 Jul, 2013 2 commits
  7. 02 Jul, 2013 1 commit
  8. 01 Jul, 2013 26 commits
  9. 27 Jun, 2013 2 commits
  10. 22 Jun, 2013 2 commits