No description
Find a file
Kinsbursky Stanislav 574302bf8d restore: support SYSV IPC vma
This patch introduces the following changes:
1) writing of shmid value into vma_area->fd instead of
   waiting for shared memory region is open by parent,
   reopen it and dump fd.
2) new syscall support: sys_shmat
3) use sys_shmat() to map memory region in restorer's
   mapping function if vma flag VMA_AREA_SYSVIPC is set.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-02-15 13:30:34 +04:00
Documentation make: docs -- Use Makefile.inc 2012-02-01 15:12:19 +04:00
include restore: support SYSV IPC vma 2012-02-15 13:30:34 +04:00
test Merge branch 'zdtm' of https://github.com/avagin/crtools 2012-02-15 11:59:45 +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 parasite: Enlighten parasite blob injection 2012-02-13 01:06:06 +04:00
cr-restore.c restore: support SYSV IPC vma 2012-02-15 13:30:34 +04:00
cr-show.c IPC: show message queue dump content 2012-02-14 20:21:30 +04:00
crtools.c IPC: dump message queue 2012-02-14 20:21:30 +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: restore message queue 2012-02-14 20:21:30 +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 make: Add %.s target 2012-02-14 17:18:08 +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 message queue dump content 2012-02-14 20:21:30 +04:00
parasite-syscall.c dump: support SYSV IPC vma 2012-02-15 13:30:34 +04:00
parasite.c parasite: Add run-time stack alignment 2012-02-14 17:18:09 +04:00
parasite.lds.S Initial commit 2011-09-23 12:00:45 +04:00
proc_parse.c dump: support SYSV IPC vma 2012-02-15 13:30:34 +04:00
ptrace.c ptrace: Send signals with final state explicitly 2012-02-03 14:54:26 +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 restore: support SYSV IPC vma 2012-02-15 13:30:34 +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 Assorted trivial message fixes 2012-02-01 02:55:16 +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)