No description
Find a file
Cyrill Gorcunov e189efc176 restore: shmems -- Fix /proc path
The remapping of /proc path to shmem should be
done with pid of process which did mmap() call
initially.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-04 16:39:08 +04:00
include restore: shmems -- Fix /proc path 2012-01-04 16:39:08 +04:00
test test: Add usnix-socket test 2011-12-27 20:01:47 +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 net: A few changes in headres to follow c99 2011-12-27 14:26:13 +04:00
cr-restore.c restore: shmems -- Fix /proc path 2012-01-04 16:39:08 +04:00
cr-show.c crtools: Remove duplicate show_single_file boolean 2011-12-28 21:15:55 +04:00
crtools.c The pid == 0 is enough. 2011-12-28 21:16:02 +04:00
gen-offsets.sh Initial commit 2011-09-23 12:00:45 +04:00
libnetlink.c net: libnetlink -- Drop trailing whitespaces 2011-12-28 12:16:11 +04:00
log.c log: Drop unneeded #includes 2011-12-19 23:22:31 +04:00
Makefile make: Add DEBUG=1 option 2011-12-27 02:28:12 +04:00
parasite-syscall.c Move everything related to ptrace into ptrace.[ch] 2011-12-19 21:57:59 +04:00
parasite.c parasite: Make max size for path being PATH_MAX 2011-12-19 15:34:37 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
ptrace.c ptrace: Drop unneeded #includes 2011-12-19 23:25:08 +04:00
README Drop kernel/ directory 2011-12-20 16:56:04 +04:00
restorer.c restore: shmem -- Don't poll, use wait helpers instead 2011-12-26 23:54:18 +04:00
sockets.c sockets: Print socket id as well 2011-12-30 18:24:55 +04:00
TODO Update TODO 2011-11-22 14:36:00 +04:00
util.c util: Fix parse_maps to handle anonymous shared mappings 2012-01-04 16:36:56 +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 clone

	git://github.com/cyrillos/linux-2.6.git

and switch to branch "crtools".

It's based on Linux

commit 384703b8e6cd4c8ef08512e596024e028c91c339
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Dec 16 18:36:26 2011 -0800

    Linux 3.2-rc6