No description
Find a file
Pavel Emelyanov 9e84bd1083 pb: Introduce pb message types and cr-descriptors
The protobuf-c generate plain routines for entries manipulations, but
we want to have some "generic" way of working with messages. Collect them
all in an array of descriptors (similar to image files descriptions) and
do full typechecking while this.

Such thing will allow to simplfy code later.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-08-07 19:21:58 +04:00
Documentation doc: Update -n option 2012-08-06 18:30:02 +04:00
include pb: Introduce pb message types and cr-descriptors 2012-08-07 19:21:58 +04:00
protobuf signalfd: Add protobuf descriptions 2012-08-02 12:24:27 +04:00
test socket_listen: interrupt a parent if a child exited 2012-08-06 18:30:45 +04:00
.gitignore Update .gitignore 2012-07-09 15:03:38 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add COPYING file 2011-12-05 14:11:05 +04:00
cr-check.c signalfd: Checking code 2012-08-02 12:27:45 +04:00
cr-dump.c parasite: Don't pull opts through the stack 2012-08-02 16:25:52 +04:00
cr-restore.c restore: consolidate restoring of a root task in one blob 2012-08-06 18:37:13 +04:00
cr-show.c protobuf: use generic show function for processes tree 2012-07-28 09:07:27 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools.c pb: Introduce pb message types and cr-descriptors 2012-08-07 19:21:58 +04:00
eventfd.c fdinfo: Make fdinfo.type be an enum 2012-07-19 10:18:37 +04:00
eventpoll.c eventpoll: Don't allocate Entry on collect stage 2012-07-24 10:22:35 +04:00
fifo.c fdinfo: Make fdinfo.type be an enum 2012-07-19 10:18:37 +04:00
file-ids.c protobuf: Start switching our image entries to Google's protobuf 2012-07-17 07:10:41 +04:00
files-reg.c files-reg: Drop redundant double semicolon 2012-08-06 18:28:27 +04:00
files.c files: Enhance error message 2012-07-28 09:11:12 +04:00
gen-offsets.sh make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
image.c signalfd: Dumping and restoring 2012-08-02 12:26:35 +04:00
inotify.c inotify: Sanitize inotify + inotify_wd collecting 2012-07-24 10:22:37 +04:00
ipc_ns.c ns: Add ability to save original ns and restoring it back while switcing 2012-08-02 07:55:05 +04:00
kcmp-ids.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
libnetlink.c netlink: Fix NLMSG_ERROR handling 2012-08-02 07:36:12 +04:00
log.c log: Remove message saying the log level set 2012-07-20 13:44:30 +04:00
Makefile signalfd: Dumping and restoring 2012-08-02 12:26:35 +04:00
Makefile.inc make: Eliminate deps build on no-deps targets in zdtm 2012-01-25 19:14:39 +04:00
Makefile.pie make: Disable stack executable bit 2012-07-20 19:39:25 +04:00
Makefile.syscall make: Disable stack executable bit 2012-07-20 19:39:25 +04:00
mount.c mount: Cleanup readlinkat calling 2012-08-06 18:28:12 +04:00
namespaces.c namespace: return -1 if one of ns can't be initilized 2012-08-06 18:36:35 +04:00
net.c net: Routes dump and restore 2012-08-02 08:31:46 +04:00
netfilter.c sockets, inet: Use inet_sk_entry as a reference in inet_sk_info 2012-07-16 07:03:59 +04:00
parasite-head-x86-64.S parasite: Move bootstrap code into parasite-head-x86-64.S 2012-04-18 18:22:52 +04:00
parasite-syscall.c parasite: Don't pull opts through the stack 2012-08-02 16:25:52 +04:00
parasite.c parasite: Remove the connect-tsock command 2012-08-01 09:48:02 +04:00
pie.lds.S make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
pipes.c fdinfo: Make fdinfo.type be an enum 2012-07-19 10:18:37 +04:00
proc_parse.c signalfd: Add proc fdinfo parsing facility 2012-08-02 12:25:18 +04:00
protobuf.c pb: Introduce pb message types and cr-descriptors 2012-08-07 19:21:58 +04:00
pstree.c protobuf: Convert pstree_entry to PB engine 2012-07-17 07:29:36 +04:00
ptrace.c Helper for si_code event extraction. 2012-04-25 21:35:40 +04:00
rbtree.c fown: Fix compilation for older distros 2012-04-25 21:36:43 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
restorer-log.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
restorer.c restorer: Calculate self-stack size with guard pages 2012-07-24 14:06:30 +04:00
shmem.c protobuf: Convert vma_entry to PB format v3 2012-07-19 12:43:36 +04:00
signalfd.c signalfd: Dumping and restoring 2012-08-02 12:26:35 +04:00
sk-inet.c netlink: Remove handmade rtnl macros/definitions 2012-08-02 07:36:12 +04:00
sk-queue.c protobuf: add payload print support in generic show function 2012-07-28 09:02:38 +04:00
sk-tcp.c tcp: Use sk ino number for opening tcp stream image on restore 2012-07-31 13:57:44 +04:00
sk-unix.c netlink: Pass argument through do_rtnl_req engine 2012-08-02 07:36:12 +04:00
sockets.c netlink: Pass argument through do_rtnl_req engine 2012-08-02 07:36:12 +04:00
syscall-common-x86-64.S syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
syscalls-x86-64.sh syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
sysctl.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
util-net.c util-net: Make send/recv fds carry fd flags in message 2012-04-10 18:36:13 +04:00
util.c util: Shorten array for anon_inode link checking 2012-07-11 12:58:46 +04:00
uts_ns.c ns: Add ability to save original ns and restoring it back while switcing 2012-08-02 07:55:05 +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)