No description
Find a file
Andrey Vagin 61490ba985 files: add one more operation post_create
It will be used for restoring inet sockets. An inet socket is created with
the option REUSEADDR, because the restore logic requires this.
The origin value can be restored only when all sockets were restored.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-08-20 17:50:01 +04:00
Documentation doc: Update -n option 2012-08-06 18:30:02 +04:00
include files: add one more operation post_create 2012-08-20 17:50:01 +04:00
protobuf packet: Rings support 2012-08-20 15:32:55 +04:00
test zdtm: Configure rings in packet socket test 2012-08-20 15:33:00 +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 socket: switch netns for collecting sockets 2012-08-11 13:12:43 +04:00
cr-dump.c shmem: Get rid of static array of dumped shmem areas 2012-08-17 00:20:58 +04:00
cr-restore.c restore: Don't mess with last_pid when restoring pidns init 2012-08-14 14:09:20 +04:00
cr-show.c protobuf: use pretty output for pstree 2012-08-14 14:49:40 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools.c crtools: write a pid of a root task in a specified file 2012-08-14 12:54:00 +04:00
eventfd.c eventfd: Add LOG_PREFIX 2012-08-20 15:14:43 +04:00
eventpoll.c epoll: Add LOG_PREFIX 2012-08-20 15:14:49 +04:00
fifo.c fd: Remove per-filetype make_gen_id abstraction 2012-08-11 22:41:29 +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 fd: Remove per-filetype make_gen_id abstraction 2012-08-11 22:41:29 +04:00
files.c files: add one more operation post_create 2012-08-20 17:50:01 +04:00
gen-offsets.sh make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
image.c mount: Add support of tmpfs (v3) 2012-08-09 19:51:22 +04:00
inotify.c inotify: Add LOG_PREFIX 2012-08-20 15:14:57 +04:00
ipc_ns.c code: Fix while ( formatting 2012-08-11 21:39:36 +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 code: A little but more checkpatch fixes over code 2012-08-11 22:19:34 +04:00
log.c log: Remove message saying the log level set 2012-07-20 13:44:30 +04:00
Makefile make: Build crtools with -O2 by default 2012-08-14 14:22:49 +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: Add -fno-strict-aliasing 2012-08-14 14:22:42 +04:00
Makefile.syscall make: Disable stack executable bit 2012-07-20 19:39:25 +04:00
mount.c code: Replace 0x%x with %#x in messages 2012-08-11 21:55:48 +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 code: Fix checkpatch.pl warnings since v0.1 2012-08-11 22:03:11 +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 code: A little but more checkpatch fixes over code 2012-08-11 22:19:34 +04:00
parasite.c parasite: Remove unneeded headers from parasite.c 2012-08-20 15:32:19 +04:00
pie.lds.S make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
pipes.c fd: Remove per-filetype make_gen_id abstraction 2012-08-11 22:41:29 +04:00
proc_parse.c code: A little but more checkpatch fixes over code 2012-08-11 22:19:34 +04:00
protobuf.c pb_show: Don't show all unknown fields as boolean 2012-08-15 20:53:35 +04:00
pstree.c pb: Rewrite object reading to use pb-descs 2012-08-07 19:22:00 +04:00
ptrace.c Helper for si_code event extraction. 2012-04-25 21:35:40 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +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 code: A little but more checkpatch fixes over code 2012-08-11 22:19:34 +04:00
shmem.c shmem: Get rid of static array of dumped shmem areas 2012-08-17 00:20:58 +04:00
signalfd.c fd: Remove per-filetype make_gen_id abstraction 2012-08-11 22:41:29 +04:00
sk-inet.c sock: Do strict socket family checks when looking up collected socket 2012-08-15 19:16:12 +04:00
sk-packet.c packet: Rings support 2012-08-20 15:32:55 +04:00
sk-queue.c pb: Rewrite object showing to use pb-descs 2012-08-07 19:22:02 +04:00
sk-tcp.c pb: Rewrite object reading to use pb-descs 2012-08-07 19:22:00 +04:00
sk-unix.c sk-unix: fix connection to external sockets 2012-08-20 14:52:00 +04:00
sockets.c packet: Rings support 2012-08-20 15:32:55 +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: Introduce the shmalloc helper 2012-08-16 20:41:34 +04:00
uts_ns.c code: Remove trailing whitespaces over .c and .h files 2012-08-11 21:34:35 +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)