No description
Find a file
Cyrill Gorcunov 65e9402d47 restore: Fix pipes restore if both pipe ends are used by former process
In case if the former process used both pipe ends we fall
into endless loop since the 'users' never reaches 1. So
to resolve this during the pipe collectioning we check if
both pipe ends were used by a former process and if so --
we connect first pipe end immediately in create_pipe and
connect the rest via  attach_pipe.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-30 09:00:45 +04:00
include Add close_safe helper 2011-09-27 18:28:09 +04:00
kernel kernel: Fixups on segment loading in Elf handling 2011-09-27 15:11:52 +04:00
test make: Move tests into test/ directory 2011-09-29 16:03:36 +04:00
xemul Initial commit 2011-09-23 12:00:45 +04:00
.gitignore Add crtools into gitignore 2011-09-29 16:04:04 +04:00
cr-dump.c Initial commit 2011-09-23 12:00:45 +04:00
cr-restore.c restore: Fix pipes restore if both pipe ends are used by former process 2011-09-30 09:00:45 +04:00
cr-show.c Initial commit 2011-09-23 12:00:45 +04:00
crtools.c Initial commit 2011-09-23 12:00:45 +04:00
elf.c Initial commit 2011-09-23 12:00:45 +04:00
gen-offsets.sh Initial commit 2011-09-23 12:00:45 +04:00
Makefile make: Fix deps for non-parasite code 2011-09-29 17:02:15 +04:00
parasite-elf.lds.S Initial commit 2011-09-23 12:00:45 +04:00
parasite-syscall.c Initial commit 2011-09-23 12:00:45 +04:00
parasite.c Initial commit 2011-09-23 12:00:45 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
rbtree.c Initial commit 2011-09-23 12:00:45 +04:00
README Initial commit 2011-09-23 12:00:45 +04:00
util.c restore: Make reopen_fd_as to print error 2011-09-27 18:39:56 +04:00

crtools
=======

An utility to to checkpoint/restore tasks. 

Some code is borrowed from

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

Many thanks to these projects.

Licensed under GPLv2