No description
Find a file
Christopher Covington d6005ed12e Use SRCARCH internally
ARCH is a user-facing variable and setting it on the command line
clobbers any manipulation attempted in the makefile. Following
the example of the Linux kernel makefiles, use a SRCARCH variable
instead for the internal, potentially fixed-up, architecture name.
This fixes the following error.

make ARCH=x86_64
Makefile:69: *** "The architecture x86_64 isn't supported".  Stop.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-02-10 14:33:47 +04:00
arch vma: Turn embeded VmaEntry on vma_area into pointer 2014-02-04 11:44:01 +04:00
Documentation Makefile: fix libcriu.so links and man page installation 2014-02-10 14:27:43 +04:00
include Make tpacket_req3 definition conditional 2014-02-10 14:31:02 +04:00
lib Always use ARCH_DIR 2014-02-10 14:33:11 +04:00
pie pie: add EOL in the error message 2014-01-23 13:24:33 +04:00
protobuf rpc: Add link-remap option 2014-02-07 16:24:37 +04:00
scripts scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
test Use SRCARCH internally 2014-02-10 14:33:47 +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: Collect mount infos before checking 2014-01-04 23:45:09 +04:00
cr-dedup.c deduplication: remove double space 2014-02-07 15:42:09 +04:00
cr-dump.c dump: Read aux vector in one pass 2014-02-10 14:26:29 +04:00
cr-exec.c criu: Several formatting fixes 2014-01-14 09:33:19 +04:00
cr-restore.c vma: Don't lookup file_desc for vma twice 2014-02-07 13:51:29 +04:00
cr-service.c rpc: Add link-remap option 2014-02-07 16:24:37 +04:00
cr-show.c stats: Add irmap resolve time 2014-01-30 16:20:16 +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 log: Don't override -v0 with -v2 2014-02-04 20:54:25 +04:00
eventfd.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
eventpoll.c files: Rework select_ps_list fdsec ops callback 2014-02-05 16:17:59 +04:00
fifo.c fifo: Don't lookup reg path twice 2014-02-07 13:55:27 +04:00
file-ids.c files: Cache special file IDs 2014-02-05 16:18:16 +04:00
file-lock.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
files-ext.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
files-reg.c files: Fix link vs target names when creating file remaps 2014-02-07 20:49:23 +04:00
files.c vma: Don't lookup file_desc for vma twice 2014-02-07 13:51:29 +04:00
fsnotify.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
image-desc.c img: Needed declarations for irmap-cache image file 2014-01-30 16:20:15 +04:00
image.c criu: Remove parent-img service fd 2014-01-24 16:12:46 +04:00
ipc_ns.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
irmap.c irmap: Don't let proc-parse free handle's mem before caching 2014-01-31 08:50:28 +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 mem: Fix zero_page_pfn type 2014-01-31 00:08:47 +04:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c log: Don't override -v0 with -v2 2014-02-04 20:54:25 +04:00
Makefile Use SRCARCH internally 2014-02-10 14:33:47 +04:00
Makefile.config make: config add test for ptrace_peeksiginfo_args 2014-02-03 23:36:12 +04:00
Makefile.crtools Always use ARCH_DIR 2014-02-10 14:33:11 +04:00
Makefile.inc make install: guess LIBDIR 2014-02-07 15:31:34 +04:00
mem.c vma: Don't lookup file_desc for vma twice 2014-02-07 13:51:29 +04:00
mount.c fsnotify: Check on dump that file handle can be opened 2014-01-29 17:30:03 +04:00
namespaces.c pre-dump: Collect mount info, root and nsmask 2014-01-30 16:20:15 +04:00
net.c net: Add comment about not using ifindex for setlink 2013-12-27 16:00:57 +04:00
netfilter.c iptables: use cr_system instead of system 2013-10-02 20:09:37 +04:00
page-pipe.c headers: Move fcntl related data to include/fcntl.h 2013-11-14 22:13:10 +04:00
page-read.c deduplication: make seek_pagemap_page properly handle eof 2014-01-24 15:50:24 +04:00
page-xfer.c page-xfer: add proper initialization and deletion of xfer->parent 2014-02-07 15:33:59 +04:00
parasite-syscall.c vma: Turn embeded VmaEntry on vma_area into pointer 2014-02-04 11:44:01 +04:00
pipes.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
plugin.c plugin: Use sizeof(*ptr) in cr_lib_load 2014-01-16 22:09:42 +04:00
proc_parse.c proc-parse: Fix 32-bit printing of vma addresses 2014-02-07 20:51:21 +04:00
protobuf-desc.c files: add ability to set callbacks for files (v7) 2013-12-20 16:07:38 +04:00
protobuf.c show: protobuf -- Fix rendering of repeated messages 2014-02-07 20:57:13 +04:00
pstree.c rst: Collect VmaEntries only once on restore 2014-02-03 23:35:03 +04:00
ptrace.c unseize: Don't print error when unseizing stopped task into stopped state 2013-12-20 23:22:04 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README Update README file so that it looks more informative on github front page 2014-01-24 20:42:08 +04:00
rst-malloc.c whitespace-at-eol cleanup 2013-12-12 10:00:45 +04:00
sd-daemon.c systemd socket activation support 2013-12-12 09:58:50 +04:00
sd-daemon.h systemd socket activation support 2013-12-12 09:58:50 +04:00
security.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
shmem.c mem: Move shmem preparation routine and rename 2014-02-03 23:34:12 +04:00
sigframe.c sigframe: don't include restorer.h 2013-11-06 12:37:38 +04:00
signalfd.c anon-inode: Don't readlink fd/fd multiple times 2014-02-02 22:14:29 +04:00
sk-inet.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
sk-netlink.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
sk-packet.c vma: Turn embeded VmaEntry on vma_area into pointer 2014-02-04 11:44:01 +04:00
sk-queue.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00
sk-tcp.c tcp: restore the boundary between sent and unsent data 2013-11-14 17:15:44 +04:00
sk-unix.c files: Make fd_id_generate_special return ID into pointer 2014-02-05 16:17:49 +04:00
sockets.c headers: Drop uintX_t usage 2013-12-12 10:03:07 +04:00
stats.c stats: Fix restore pages stats 2014-02-04 14:03:10 +04:00
string.c string: Add strlcat helper 2013-11-29 15:36:07 +04:00
sysctl.c sysctl: Don't forget to close fds 2013-04-05 08:23:17 +04:00
tty.c files: Rework select_ps_list fdsec ops callback 2014-02-05 16:17:59 +04:00
tun.c crtools: move cr_options in a separate header 2013-11-06 18:17:52 +04:00
util.c chdir: need to check return value 2014-02-04 14:05:35 +04:00
uts_ns.c crtools: move pid_rst_prio to pid.h 2013-11-06 18:18:12 +04:00

criu
====

An utility to checkpoint/restore tasks. Using this tool, you can
freeze a running application (or part of it) and checkpoint it to
a hard drive as a collection of files. You can then use the files
to restore and run the application from the point it was frozen
at. The distinctive feature of the CRIU project is that it is
mainly implemented in user space.

The project home is at http://criu.org

Pages worth starting with are
* Kernel configuration, compilation, etc: http://criu.org/Installation
* A simple example of usage: http://criu.org/Simple_loop
* More sophisticated example with graphical app: http://criu.org/VNC