2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00
Andrey Vagin 7aaef1ee4f mount: don't destruct an external mount-namespace (v2)
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: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-07-08 13:39:16 +04:00
2012-03-25 23:31:20 +04:00
2013-04-01 12:29:06 +04:00
2013-07-01 16:19:28 +04:00
2012-07-30 13:52:37 +04:00
2013-04-30 20:17:55 +04:00
2013-04-15 12:46:25 +04:00
2013-07-01 21:31:05 +04:00
2013-05-03 01:56:30 +04:00
2013-07-02 09:51:33 +04:00
2013-05-16 17:05:45 +04:00
2013-04-30 18:31:34 +04:00
2013-05-10 11:02:02 +04:00
2013-04-05 08:23:17 +04:00

criu
====

An utility to checkpoint/restore tasks.

Some code snippets are borrowed from

 - Linux kernel (http://kernel.org/)
 - git (http://git-scm.com/)
 - kvm-tools (https://github.com/penberg/linux-kvm)
 - ptrace-parasite (https://code.google.com/p/ptrace-parasite/)

Many thanks to these projects.

Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)
Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%