No description
Find a file
Cyrill Gorcunov 870803fb5f image: Shrink signal entry structure
Since we use pure syscalls there is no
need to keep intermediate layer for signals.

Moreover mask entry moved at the end of the structure
so we will easily expand it if it'll be ever needed.

Note it breaks backward compatibility with older image
but since it's development stage it should be safe.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrew Vagin <avagin@parallels.com>
2011-12-08 19:36:26 +04:00
include image: Shrink signal entry structure 2011-12-08 19:36:26 +04:00
kernel kernel: Drop no longer needed CLONE_CHILD_USEPID functionality 2011-12-01 18:51:56 +04:00
test zdtm: add new test case for "pipe inversion" 2011-12-06 23:41:36 +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 and restore current work directory (v2) 2011-12-07 17:16:41 +04:00
cr-restore.c image: Shrink signal entry structure 2011-12-08 19:36:26 +04:00
cr-show.c show: Rework show procedure 2011-12-05 15:59:01 +04:00
crtools.c crtools: add options to specified a log file 2011-12-08 18:55:13 +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 make: Drop redundand dependency on parasite.h 2011-12-05 20:36:57 +04:00
parasite-syscall.c Use absolute path for image files 2011-12-07 17:16:37 +04:00
parasite.c image: Shrink signal entry structure 2011-12-08 19:36:26 +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 crtools: add options to specified a log file 2011-12-08 18:55:13 +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