No description
Find a file
Cyrill Gorcunov c06227ff3b Add COPYING file
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-12-05 14:11:05 +04:00
include Don't use standard descriptors for logging 2011-12-05 12:07:52 +04:00
kernel kernel: Drop no longer needed CLONE_CHILD_USEPID functionality 2011-12-01 18:51:56 +04:00
test test: Add sigaction test 2011-12-03 01:48:57 +04:00
.gitignore Add crtools into gitignore 2011-09-29 16:04:04 +04:00
COPYING Add COPYING file 2011-12-05 14:11:05 +04:00
cr-dump.c dump: Test errors on xrealloc result 2011-12-05 13:36:08 +04:00
cr-restore.c Don't use standard descriptors for logging 2011-12-05 12:07:52 +04:00
cr-show.c crtools: Show 6 page va-s per line in [Pages] section 2011-11-21 20:33:55 +04:00
crtools.c Don't use standard descriptors for logging 2011-12-05 12:07:52 +04:00
gen-offsets.sh Initial commit 2011-09-23 12:00:45 +04:00
INTERNALS docs: Add internals details 2011-11-22 16:48:57 +04:00
Makefile cleanup: Drop elf references 2011-11-13 13:07:00 +04:00
parasite-syscall.c Fix potential memory leak in parasite_dump_sigacts_seized 2011-11-30 23:44:15 +04:00
parasite.c dump,restore: Use rt_sigaction_t for sys_sigaction 2011-12-03 17:24:05 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
README Update README 2011-12-01 11:16:37 +04:00
restorer.c PROT_WRITE isn't need for a mapping of a file with MAP_SHARED 2011-12-02 15:43:48 +04:00
seize.c Move seize related functions into seize.[ch] 2011-10-13 19:18:43 +04:00
TODO Update TODO 2011-11-22 14:36:00 +04:00
util.c Don't use standard descriptors for logging 2011-12-05 12:07:52 +04:00

crtools
=======

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)

Kernel patching
===============

To have crtools up and running either 

1) use patches from kernel/ directory
2) or clone git://github.com/cyrillos/linux-2.6.git
   and switch to branch "crtools". Note these patches
   are guaranteed to be up to date only with major
   release of crtool. If you're testing development
   version -- make sure you're applying series from
   kernel/ directory.

It's based on Linux

 | commit 1ea6b8f48918282bdca0b32a34095504ee65bab5
 | Author: Linus Torvalds <torvalds@linux-foundation.org>
 | Date:   Mon Nov 7 16:16:02 2011 -0800
 |
 |   Linux 3.2-rc1

The following patches are already in -mm tree

fs-proc-Make-proc_get_link-to-use-dentry
fs-proc-Introduce-the-proc-pid-map_files-directory
procfs-introduce-the-proc-pid-map_files-directory-checkpatch
sysfs-add-kernel.ns_last_pid