No description
Find a file
Pavel Emelyanov cb576d892a inotify: Sort marks by wd before collecting them
The inotify_add_watch generates wd-s one-by one. We cannot
request for one, thus we call this syscall till the required
wd is generated.

Thus, if we want to restore several wd-s for an inotify, we
have to put them in ascending order. Otherwise we may restore
watch with higher wd earlier and will thus not be able to
generate the lower wd in a reasonable time.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-10-15 13:35:28 +04:00
arch arm: don't use the register R12 in the routine syscall_common() 2013-09-26 15:56:35 +04:00
Documentation doc: make -- Add description for `obj-ext-src-y' 2013-09-04 16:16:52 +04:00
include rst: Read sys.last_cap only once in kerndat 2013-10-12 00:03:25 +04:00
lib version: Define version as a macro 2013-09-14 15:00:17 +04:00
pie build: Move pie/gen-offsets.sh into scripts/ 2013-10-15 11:30:41 +04:00
protobuf protobuf: Add EXTLINK netdevice type 2013-10-10 15:12:06 +04:00
scripts build: Move pie/gen-offsets.sh into scripts/ 2013-10-15 11:30:41 +04:00
test test: rpc: fix log_level in test.c and add log_level to test.py 2013-10-14 13:21:22 +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: Soft-dirty support is upstream since v3.11 2013-09-03 14:21:11 +04:00
cr-dump.c pre-dump: do not disconnect from page server before writing to it 2013-10-10 22:56:33 +04:00
cr-exec.c exec: Add support for return-arguments 2013-06-08 00:37:05 +04:00
cr-restore.c rst: Read sys.last_cap only once in kerndat 2013-10-12 00:03:25 +04:00
cr-service.c service: Go to daemon with detached terminal and cwd 2013-10-11 17:59:21 +04:00
cr-show.c show: Don't print out-of-buffer-range symbols 2013-09-19 13:30:12 +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 crtools: Use -o argument directly 2013-10-10 11:11:05 +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 files: Remove FIXME from comment 2013-08-29 10:13:55 +04:00
files.c fs: Restore root 2013-09-25 13:59:20 +04:00
fsnotify.c inotify: Sort marks by wd before collecting them 2013-10-15 13:35:28 +04:00
image-desc.c net: Save and restore iptables in net namespace 2013-10-04 02:51:33 +04:00
image.c fdset: Beautify fdset opening 2013-09-28 05:39:52 +04:00
ipc_ns.c fdset: Beautify fdset opening 2013-09-28 05:39:52 +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 rst: Read sys.last_cap only once in kerndat 2013-10-12 00:03:25 +04:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c v2 crtools: write pidfile, when service/page server is run as daemon and "--pidfile" is set 2013-09-16 15:45:01 +04:00
Makefile make: clean up test data, if a test completed successfully 2013-09-14 14:56:59 +04:00
Makefile.config Add strlcpy helper 2013-08-28 19:06:43 +04:00
Makefile.crtools build: Move protobuf-desc-gen.sh into scripts/ 2013-10-15 11:26:45 +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: Add missing \Newline 2013-10-09 17:17:58 +04:00
namespaces.c fdset: Beautify fdset opening 2013-09-28 05:39:52 +04:00
net.c net: Dump EXTLINK devices 2013-10-10 15:12:54 +04:00
netfilter.c iptables: use cr_system instead of system 2013-10-02 20:09:37 +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 v2 crtools: write pidfile, when service/page server is run as daemon and "--pidfile" is set 2013-09-16 15:45:01 +04:00
parasite-syscall.c parasite: don't block if a parasite crashes 2013-10-02 20:12:56 +04:00
pipes.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
proc_parse.c proc: parse -- Fix length for smaps maj/min parshing 2013-10-14 13:20:35 +04:00
protobuf-desc.c 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 rst: Introduce fine-grained pgid-restore synchronization 2013-09-27 04:38:00 +04:00
ptrace.c crtoools: add support of stopped tasks (v2) 2013-10-01 11:21:34 +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
security.c security: Check not only real user ID 2013-09-28 16:43:25 +04:00
shmem.c rst: Formalize the shared resource restore order 2013-08-29 08:07:15 +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 inet: Improve messaging in can_dump_inet_sk error paths 2013-10-10 11:27:51 +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 inet: tcp -- Find size of max memory allowed to restore TCP data 2013-10-04 16:18:24 +04:00
sk-unix.c unix: Increase verbosity of "can't dump this socket" check 2013-10-10 11:17:42 +04:00
sockets.c sockets: don't double buffer size for sockets 2013-09-17 22:46:55 +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: Use shorter name for ifr_name 2013-09-10 12:01:28 +04:00
util.c util: Make set_proc_mountpoint static 2013-08-11 20:02:33 +04:00
uts_ns.c uts: don't use global fdset for dumping namespace 2013-10-01 12:10:57 +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)