No description
Find a file
Pavel Emelyanov 097bc0b967 dump: Collect mem+regs+sigmask atomically
The ptrace seize doesn't prevent signals from delivery. That said,
we should block the signals in the target task before dumping
anything which is signals-related, i.e. memory and registers.

But once we've blocked signals, we should dump registers before
unblocking them, since any postponed signal will screw things up.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-02-20 12:33:43 +04:00
Documentation make: docs -- Use Makefile.inc 2012-02-01 15:12:19 +04:00
include dump: Collect mem+regs+sigmask atomically 2012-02-20 12:33:43 +04:00
test zdtm.sh: clean up output 2012-02-17 15:20:27 +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-dump.c dump: Collect mem+regs+sigmask atomically 2012-02-20 12:33:43 +04:00
cr-restore.c open_proc() and friends: hide pid_dir 2012-02-17 16:46:25 +04:00
cr-show.c IPC: show semaphores set 2012-02-15 13:33:46 +04:00
crtools.c IPC: dump semaphores set 2012-02-15 13:33:46 +04:00
files.c files.c: fix error message 2012-02-11 11:58:06 +04:00
gen-offsets.sh parasite: Make sure no dots in names generated 2012-02-14 17:18:09 +04:00
ipc_ns.c IPC: close image files after use 2012-02-17 15:24:43 +04:00
libnetlink.c crtools: R/W API rewrite 2012-01-23 01:43:10 +04:00
log.c pr_perror(): print error at the end of line 2012-01-31 15:49:15 +04:00
Makefile Makefile: test target should depend on crtools 2012-02-17 10:44:02 +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 open_proc() and friends: hide pid_dir 2012-02-17 16:46:25 +04:00
parasite.c dump: Collect mem+regs+sigmask atomically 2012-02-20 12:33:43 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
proc_parse.c open_proc() and friends: hide pid_dir 2012-02-17 16:46:25 +04:00
ptrace.c Rework parasite code 2012-02-16 22:05:28 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
restorer-log.c restorer: move log descriptor from crtools (v2) 2012-01-17 18:08:03 +03:00
restorer.c restorer: Don't close SYSV IPC vma fd 2012-02-17 15:55:32 +04:00
restorer.lds.S restorer: isolate restorer like parasite (v4) 2012-01-17 18:08:03 +03:00
sockets.c sockets.c: use pr_perror() where appropriate 2012-02-11 11:58:32 +04:00
sysctl.c Add sysctl handling engine 2012-02-02 21:22:20 +04:00
util-net.c util-net: Make sure that there is real data in message 2012-02-14 17:18:09 +04:00
util.c open_proc() and friends: hide pid_dir 2012-02-17 16:46:25 +04:00
uts_ns.c uts: Don't fail on "show" if there is no data dumped 2012-02-02 21:22:21 +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)