2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00
Pavel Emelyanov 30e95be264 mnt: Fix validation of dumpable mountpoints
This patch consists of 3 unsplittable (from my POV) fixes.

1. Remove messy check from dump_one_mountpoint() -- we have
   validate_mounts to check whether we can dump the tree
   or not.

2. Other than being in the wron place the mentioned check
   is wrong. Comparing of the length of the mp->source-s
   makes no sense -- it should be mp->root, but even this
   would be wrong...

3. ... instead, we should check for bind mount root path
   being accessible from the target mount root path, i.e.
   the bind->root should start with src->root.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
2014-06-04 19:34:54 +04:00
2014-05-27 23:41:31 +04:00
2014-05-27 23:41:31 +04:00
2014-05-28 00:24:54 +04:00
2014-05-14 17:34:41 +04:00
2012-03-25 23:31:20 +04:00
2014-05-27 23:48:06 +04:00
2013-04-01 12:29:06 +04:00
2014-05-27 23:48:06 +04:00
2014-01-14 09:33:19 +04:00
2014-03-25 01:20:02 +04:00
2012-07-30 13:52:37 +04:00
2013-04-30 20:17:55 +04:00
2014-03-25 01:20:02 +04:00
2014-02-07 13:55:27 +04:00
2014-05-27 23:48:06 +04:00
2014-04-22 12:51:15 +04:00
2014-02-04 20:54:25 +04:00
2014-05-27 23:48:06 +04:00
2013-11-06 18:18:12 +04:00
2013-12-12 10:00:45 +04:00
2013-12-12 09:58:50 +04:00
2013-12-12 09:58:50 +04:00
2013-12-12 10:03:07 +04:00
2013-12-12 10:03:07 +04:00
2013-11-06 18:18:12 +04:00
2014-04-23 02:51:11 +04:00
2014-02-04 14:03:10 +04:00
2013-11-29 15:36:07 +04:00
2013-04-05 08:23:17 +04:00
2013-11-06 18:18:12 +04:00

criu
====

An utility to checkpoint/restore tasks. Using this tool, you can
freeze a running application (or part of it) and checkpoint it to
a hard drive as a collection of files. You can then use the files
to restore and run the application from the point it was frozen
at. The distinctive feature of the CRIU project is that it is
mainly implemented in user space.

The project home is at http://criu.org

Pages worth starting with are
* Kernel configuration, compilation, etc: http://criu.org/Installation
* A simple example of usage: http://criu.org/Simple_loop
* More sophisticated example with graphical app: http://criu.org/VNC
Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%