No description
Find a file
Ruslan Kuprieiev c7c772f93e libcriu: add cr_errno support
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-12-22 17:38:52 +03:00
arch arch:aarch64: add atomic_cmpxchg 2014-12-08 15:55:55 +03:00
contrib Add a convenience shell script for Docker container C/R 2014-09-09 16:08:22 +04:00
Documentation cpuinfo: Add "cpuinfo [dump|check]" commands, v2 2014-10-03 13:26:58 +04:00
include proc: Drop always true last argument of parse_smaps() 2014-12-22 13:52:03 +03:00
lib libcriu: add cr_errno support 2014-12-22 17:38:52 +03:00
pie dump: get tasks ids from parasite 2014-11-07 17:14:32 +04:00
protobuf service: add cr_errno to criu_resp and send cr_errno in it, v2 2014-12-22 13:49:45 +03:00
scripts travis: add compilation of tests 2014-10-14 14:22:01 +04:00
test test: rpc: cr_errno, v3 2014-12-22 17:38:46 +03:00
.gitignore lib: Generate pkgconfig file 2014-08-04 13:57:18 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml criu: add .travis.yml (v3) 2014-09-30 21:51:16 +04:00
action-scripts.c scripts: Exit early if no scripts passed 2014-11-14 15:51:28 +04:00
bfd.c bfd: Use LOG_PREFIX 2014-11-11 20:19:36 +04:00
cgroup.c cgroup: don't use fread in read_cgroup_prop() 2014-11-05 15:45:50 +04:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c criu: check: don't leak the child if PTRACE_ATTACH fails 2014-12-10 12:41:49 +03:00
cr-dedup.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
cr-dump.c proc: Drop always true last argument of parse_smaps() 2014-12-22 13:52:03 +03:00
cr-errno.c cr-errno: initial commit 2014-12-19 18:58:46 +03:00
cr-exec.c dump: remove useless arguments from seize_task() 2014-11-07 17:14:54 +04:00
cr-restore.c cr_errno: move cr_err helpers into cr_errno.h 2014-12-22 13:50:45 +03:00
cr-service.c service: add cr_errno to criu_resp and send cr_errno in it, v2 2014-12-22 13:49:45 +03:00
cr-show.c criu: add constants about user namespaces 2014-11-07 17:00:32 +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 Add inherit fd support 2014-12-10 12:48:30 +03:00
eventfd.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
eventpoll.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
fifo.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
file-ids.c files-ids: generate id-s accoding with mnt_id, st->st_dev and st->st_ino 2014-04-21 22:39:28 +04:00
file-lock.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
files-ext.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
files-reg.c Add inherit fd support 2014-12-10 12:48:30 +03:00
files.c Explain how an inherit fd can be reused. 2014-12-19 18:50:39 +03:00
fsnotify.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
image-desc.c criu: add constants about user namespaces 2014-11-07 17:00:32 +04:00
image.c bfd: Don't flush read-only images 2014-11-05 15:38:17 +04:00
ipc_ns.c ipc_ns: don't leak memory 2014-11-05 15:46:46 +04:00
irmap.c Add root mount point of container as irmap hint 2014-12-19 18:55:12 +03:00
kcmp-ids.c kcmp: Fix ret code comparison 2014-04-22 12:51:15 +04:00
kerndat.c tcp: don't split packets for restoring a send queue 2014-12-08 15:46:44 +03:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c restore: open the pidfile with O_EXCL 2014-09-03 20:58:24 +04:00
Makefile criu: Version 1.4 2014-12-01 15:50:35 +03:00
Makefile.config crtools: check for setproctitle_init 2014-09-02 16:14:39 +04:00
Makefile.crtools cr-errno: initial commit 2014-12-19 18:58:46 +03:00
Makefile.inc install: install criu-service logrotate config 2014-02-18 12:39:50 +04:00
mem.c mem: check existence of parent images before dumping pages (v2) 2014-11-29 19:32:40 +03:00
mount.c mnt: Factor out find-mount-by-s_dev code 2014-11-19 13:17:30 +04:00
namespaces.c userns: Don't fork task not to dump userns 2014-11-11 20:13:18 +04:00
net.c net: Use ns walking helper 2014-10-14 18:01:38 +04:00
netfilter.c iptables: use cr_system instead of system 2013-10-02 20:09:37 +04:00
page-pipe.c log: Use pr_quelled helper 2014-09-03 20:56:58 +04:00
page-read.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
page-xfer.c mem: check existence of parent images before dumping pages (v2) 2014-11-29 19:32:40 +03:00
pagemap-cache.c pagemap-cache: Use page.h helpers 2014-02-21 16:29:41 +04:00
parasite-syscall.c kerndat: Collect all global variables on one struct 2014-11-11 20:14:53 +04:00
pipes.c pipe: increase the buffer size for pipe identifier 2014-12-19 18:33:01 +03:00
plugin.c plugin: Rework plugins API, v2 2014-09-03 20:48:36 +04:00
proc_parse.c proc: Drop always true last argument of parse_smaps() 2014-12-22 13:52:03 +03:00
protobuf-desc.c criu: add constants about user namespaces 2014-11-07 17:00:32 +04:00
protobuf.c img: Prepare to use bfd engine 2014-09-30 21:48:53 +04:00
pstree.c namespaces: take into account USERNS id 2014-10-30 16:00:33 +04:00
ptrace.c dump: move the may_dump() check in seize_task() 2014-11-07 17:15:29 +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 dump: get tasks ids from parasite 2014-11-07 17:14:32 +04:00
shmem.c kerndat: Collect all global variables on one struct 2014-11-11 20:14:53 +04:00
sigframe.c sigframe: cast the pointer to the field ucontext::uc_sigmask to k_rtsigset_t 2014-04-08 15:36:09 +04:00
signalfd.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
sk-inet.c sk-inet: don't leak sockets 2014-11-05 15:46:39 +04:00
sk-netlink.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
sk-packet.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
sk-queue.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
sk-tcp.c tcp: don't split packets for restoring a send queue 2014-12-08 15:46:44 +03:00
sk-unix.c userns: save uid-s from a target userns (v2) 2014-11-07 17:15:45 +04:00
sockets.c dump: pre-load kernel modules 2014-10-14 14:21:05 +04:00
stats.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
string.c string: Add strlcat helper 2013-11-29 15:36:07 +04:00
sysctl.c add int(CTL_32) 2014-10-08 19:23:24 +04:00
sysfs_parse.c sysfs: fix use_after_free issue 2014-11-05 15:44:34 +04:00
timerfd.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
tty.c tty:add comment explaining indices, v2 2014-12-22 13:48:45 +03:00
tun.c tun: rename FD_TYPES__TUN to FD_TYPES__TUNF 2014-10-27 21:52:40 +04:00
util.c util: set cr_errno to ESRCH if no PID dir in proc 2014-12-19 18:59:14 +03:00
uts_ns.c ns: Factor out namespace switching call 2014-09-30 21:54:11 +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