No description
Find a file
Andrey Vagin 6201096cea zdtm: fix a race condition during concurrent execution of tests
When tests are executed concurrently all of them use
the same root, so libraries must be copied atomically.

Without this patch we can get errors like this:
cp: cannot create regular file ‘/tmp/criu-root.m45u5Y/lib64/ld-linux-x86-64.so.2’: File exists

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-08-30 15:36:52 +04:00
arch atomic: Use atomic_read instead of atomic_get 2013-08-16 19:37:06 +04:00
Documentation docs: Add 'cleanup-y' description to Makefile.build.txt 2013-08-28 17:04:38 +04:00
include mounts: find mounts, which are propagated from a current one (v2) 2013-08-30 15:01:30 +04:00
lib make: Use generic build engine for libcriu.so 2013-08-29 14:48:13 +04:00
pie pie: Move send_fds/recv_fds helpers into separate pie/util-fd.c 2013-08-29 14:48:10 +04:00
protobuf mount: save group and master in image file (v2) 2013-08-30 15:01:27 +04:00
scripts build: Don't forget to use LDFLAGS when ld invoked 2013-08-29 14:48:08 +04:00
test zdtm: fix a race condition during concurrent execution of tests 2013-08-30 15:36:52 +04:00
.gitignore git: Don't track *.so files 2013-08-29 14:48:17 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c check: Add tun support 2013-08-23 19:18:47 +04:00
cr-dump.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
cr-exec.c exec: Add support for return-arguments 2013-06-08 00:37:05 +04:00
cr-restore.c cr-restore.c: fixed compilation errors on ARM 2013-08-30 15:10:58 +04:00
cr-show.c show: Remove excessive includes 2013-08-24 17:50:35 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools crtools: rename binary to criu 2013-04-30 20:17:55 +04:00
crtools.c page-server: Convert opts.addr into char * 2013-08-11 12:01:14 +04:00
eventfd.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
eventpoll.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
fifo.c collect: Shorten common images collecting code 2013-08-21 03:52:18 +04:00
file-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
file-lock.c Fix typos in log messages 2013-04-15 12:46:25 +04:00
files-reg.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
files.c files: declare fd_params->pos as off_t 2013-08-29 14:55:37 +04:00
fsnotify.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
image-desc.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
image.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
ipc_ns.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
kcmp-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
kerndat.c kerndat: Produce sane error messgaes 2013-08-09 15:37:35 +04:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c log: log_init -- Check for dup return code 2013-04-12 20:50:27 +04:00
Makefile make: Use generic build engine for libcriu.so 2013-08-29 14:48:13 +04:00
Makefile.config Add strlcpy helper 2013-08-28 19:06:43 +04:00
Makefile.crtools Add strlcpy helper 2013-08-28 19:06:43 +04:00
Makefile.inc Makefiles: add install target 2013-05-03 01:56:30 +04:00
mem.c parasite: Rename ack-waiting function to look better 2013-07-17 08:56:17 +04:00
mount.c mount: prevent dumping mounts, if they can't be restored (v2) 2013-08-30 15:02:24 +04:00
namespaces.c ns: Mark descs array static 2013-08-24 15:30:39 +04:00
net.c net: mount sysfs in a new mount name-space 2013-08-29 17:46:28 +04:00
netfilter.c tcp: block connections in both directions 2013-08-06 14:21:12 +04:00
page-pipe.c page-pipe: fixed format strings 2013-04-30 18:31:34 +04:00
page-read.c page-read: print errno in case of failure 2013-08-28 17:00:17 +04:00
page-xfer.c page-server: Convert opts.addr into char * 2013-08-11 12:01:14 +04:00
parasite-syscall.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
pipes.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
proc_parse.c mm: don't add a guard page if a prev vma grows-down too 2013-08-30 14:22:35 +04:00
protobuf-desc.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
protobuf-gen.sh build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
protobuf.c collect: Reduce amount of args to collect_image call 2013-08-21 03:27:06 +04:00
pstree.c pstree: Allocate and free sas entry 2013-07-10 17:31:09 +04:00
ptrace.c Change crtools to criu in criu messages 2013-05-10 11:02:20 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README README: crtools to criu rename 2013-05-10 11:02:02 +04:00
shmem.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
sigframe.c restore: Add restoration of alternative signal stack 2013-07-10 17:31:12 +04:00
signalfd.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-inet.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-netlink.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-packet.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-queue.c v2 fix data loss when dumping semi-closed unix stream connection. 2013-08-28 16:52:17 +04:00
sk-tcp.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-unix.c v2 fix data loss when dumping semi-closed unix stream connection. 2013-08-28 16:52:17 +04:00
sockets.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
stats.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
string.c Add strlcpy helper 2013-08-28 19:06:43 +04:00
sysctl.c sysctl: Don't forget to close fds 2013-04-05 08:23:17 +04:00
tty.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
tun.c tun: Don't dump tun file if we're not taking netns with us 2013-08-28 19:41:21 +04:00
util.c util: Make set_proc_mountpoint static 2013-08-11 20:02:33 +04:00
uts_ns.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00

criu
====

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)