No description
Find a file
Pavel Emelyanov 7a451ff108 rst: Open exe link fd early
Open the exec link at fd restore stage as yet another service fd,
then pass it to restover via args and just call prctl on it.

This is good for several reasons -- the amount of code required for
this is less and opening files should better happen before we switch
to restorer (opening will be complex and it's MUCH easier to open all
we need in one place).

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-03-24 15:30:20 +04:00
Documentation docs: Add 'check' option description 2012-03-02 14:23:45 +04:00
include rst: Open exe link fd early 2012-03-24 15:30:20 +04:00
test zdtm: Added maps01 to zdtm script 2012-03-21 11:33:58 +04:00
tools tools: Update commit bot 2012-02-07 18:37:03 +04:00
.gitignore Update .gitignore 2012-01-19 22:00:11 +04:00
COPYING Add COPYING file 2011-12-05 14:11:05 +04:00
cr-check.c check: Fix peek_off getting 2012-03-24 15:28:10 +04:00
cr-dump.c dump: files tree - return id upon collect instead on inner structure 2012-03-24 00:40:52 +04:00
cr-restore.c rst: Open exe link fd early 2012-03-24 15:30:20 +04:00
cr-show.c show: Fix timers names 2012-03-22 21:17:57 +04:00
crtools.c mm: Dump vmas into separate image file 2012-03-21 18:17:12 +04:00
file-ids.c dump: files tree - return id upon collect instead on inner structure 2012-03-24 00:40:52 +04:00
files.c rst: Open exe link fd early 2012-03-24 15:30:20 +04:00
gen-offsets.sh gen-offsets.sh: error out if something goes wrong 2012-03-02 12:12:17 +04:00
ipc_ns.c show: Use pr_msg for showing contents on console 2012-03-02 11:12:59 +04:00
libnetlink.c log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
log.c fds: Introduce service fd-s 2012-03-16 20:45:42 +04:00
Makefile Makefile: rm RDEPS-BLOB var 2012-03-02 14:16:12 +04:00
Makefile.inc make: Eliminate deps build on no-deps targets in zdtm 2012-01-25 19:14:39 +04:00
namespaces.c IPC: show semaphores set 2012-02-15 13:33:46 +04:00
parasite-syscall.c parasite: Rename gen_parasite_saddr @pid to @key 2012-03-21 14:40:25 +04:00
parasite.c mm: clean up parasite (v2) 2012-03-21 11:04:17 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
proc_parse.c mm: move shmid to vma_entry (v2) 2012-03-21 10:56:31 +04:00
ptrace.c log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
rbtree.c Add rbtree helpers 2012-02-28 19:13:47 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
restorer-log.c logfd: Distinguish functions which do setup logdf 2012-03-02 01:05:43 +04:00
restorer.c rst: Open exe link fd early 2012-03-24 15:30:20 +04:00
restorer.lds.S restorer: isolate restorer like parasite (v4) 2012-01-17 18:08:03 +03:00
sockets.c udp: Restore UDP sockets 2012-03-02 15:54:42 +04:00
sysctl.c show: Use pr_msg for showing contents on console 2012-03-02 11:12:59 +04:00
util-net.c net: Fix typo in recv_fd 2012-03-16 20:46:49 +04:00
util.c util: Remove dead code 2012-03-22 21:17:44 +04:00
uts_ns.c dump: add const qualifiers where possible 2012-03-06 17:00:42 +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)