No description
Find a file
Tycho Andersen 72ff44d0dc usernsd: move MAX_MSG_SIZE to namespaces.h
We'll use this size in the next patch to avoid having to do some dynamic
allocation.

v2: call it MAX_UNSFD_MSG_SIZE instead
v3: fix all uses of MAX_MSG_SIZE :)

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-09-21 11:57:40 +03:00
arch ppc64: Fix checkpoint --leave-running 2015-09-10 14:09:14 +03:00
contrib Add OverlayFS support to docker_cr.sh 2015-08-18 18:14:32 +03:00
Documentation docs: Add --freeze-cgroup and update --ext-unix-sk 2015-09-10 14:04:26 +03:00
include usernsd: move MAX_MSG_SIZE to namespaces.h 2015-09-21 11:57:40 +03:00
lib irmap: add --irmap-scan-path option 2015-09-21 11:46:12 +03:00
pie vdso: Rework vdso processing files 2015-09-10 14:07:22 +03:00
protobuf mount: handle mnt_flags and sb_flags separatly (v4) 2015-09-21 11:55:17 +03:00
pycriu img: Add text for known flags 2015-09-21 11:52:14 +03:00
scripts travis: add libcap-dev for arm 2015-07-24 18:57:35 +03:00
test zdtm: don't run file_locks* tests simultaneously 2015-09-21 11:56:38 +03:00
.gitignore gitignore: ignore pie/piegen/piegen 2015-08-03 17:06:42 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml travis: add libcap-dev 2015-07-23 15:12:50 +03:00
action-scripts.c scripts: Exit early if no scripts passed 2014-11-14 15:51:28 +04:00
aio.c aio: Fix vma->start printing format on arm 2014-12-30 15:38:25 +03:00
bfd.c Use run-time page size where it matters 2015-04-22 15:39:05 +03:00
cgroup.c cgroups: get controllers from /proc/self/cgroups (v2) 2015-09-16 15:46:10 +03:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c check: try to call clone with CLONE_NEWPID and CLONE_PARENT 2015-07-14 14:08:31 +03:00
cr-dedup.c page-read: Explicitly mark ENOENT with return code 2015-03-13 14:42:11 +03:00
cr-dump.c kcmp: Stop showing ids tree 2015-08-18 18:17:31 +03:00
cr-errno.c cr-errno: initial commit 2014-12-19 18:58:46 +03:00
cr-exec.c ptrace: split task_seize into seize_catch_task and seize_wait_task 2015-08-07 13:47:11 +03:00
cr-restore.c Replace remaining hard-coded TASK_SIZE use 2015-08-03 17:14:19 +03:00
cr-service.c irmap: add --irmap-scan-path option 2015-09-21 11:46:12 +03:00
cr-show.c show: read a second magic when it's required 2015-04-21 16:15:44 +03:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crit crit: Introduce 'info' action 2015-09-21 11:51:39 +03:00
crtools crtools: rename binary to criu 2013-04-30 20:17:55 +04:00
crtools.c Remove multiple command validation as cpuinfo requires it 2015-09-21 11:50:05 +03:00
Dockerfile Revert "travis: install libseccomp-dev" 2015-07-14 18:28:05 +03:00
eventfd.c img: Rename fdset -> imgset 2014-09-30 21:48:10 +04:00
eventpoll.c img: Remove O_OPT and COLLECT_OPTIONAL 2015-03-13 14:42:01 +03:00
fifo.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
file-ids.c kcmp: Stop showing ids tree 2015-08-18 18:17:31 +03:00
file-lock.c lock: parse the lock field in fdinfo if it's avaliable (v2) 2015-04-27 14:53:24 +03:00
files-ext.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
files-reg.c files-reg: Rework strip_deleted helper 2015-08-21 21:26:01 +03:00
files.c file: reserve one byte in a string buffer for the null byte 2015-09-01 12:25:39 +03:00
fsnotify.c fsnotify: Unify debug print formats 2015-07-28 13:34:26 +03:00
image-desc.c img: Introduce v1.1 images (v2) 2015-04-14 15:18:32 +03:00
image.c img: Remove empty lazy images after dump 2015-05-30 00:31:52 +03:00
ipc_ns.c sysctl: Pass number of requests in argument 2015-05-05 14:14:24 +03:00
irmap.c irmap: add --irmap-scan-path option 2015-09-21 11:46:12 +03:00
kcmp-ids.c kcmp: Stop showing ids tree 2015-08-18 18:17:31 +03:00
kerndat.c kerndat: tcp_max_rshare -- Shrink default size 2015-09-10 14:02:55 +03:00
libnetlink.c netlink: increase the receive buffer size 2015-09-04 18:26:51 +03:00
log.c Need bigger log buffer to avoid message truncation 2015-07-13 15:19:14 +03:00
lsm.c don't assume the kernel has CONFIG_SECCOMP 2015-07-13 14:50:35 +03:00
Makefile vdso: Rework vdso processing files 2015-09-10 14:07:22 +03:00
Makefile.config build: get rid of vestigial Makefile.config test 2015-07-15 17:34:14 +03:00
Makefile.crtools vdso: merge per arch vdso.c file in a common one 2015-09-10 14:07:20 +03:00
Makefile.inc install: install criu-service logrotate config 2014-02-18 12:39:50 +04:00
mem.c Pass task_size to vma_area_is_private() 2015-08-03 17:14:18 +03:00
mount.c mount: handle old images where sb and mnt options were not separated (v3) 2015-09-21 11:55:36 +03:00
namespaces.c usernsd: move MAX_MSG_SIZE to namespaces.h 2015-09-21 11:57:40 +03:00
net.c net: don't call netns_entry__free_unpacked for uninitialized pointer (v2) 2015-06-11 19:50:03 +03: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 empty images 2015-03-13 14:42:54 +03:00
page-xfer.c page-xfer: wait when a connection will be closed from a client side 2015-09-16 15:39:27 +03:00
pagemap-cache.c Replace remaining hard-coded TASK_SIZE use 2015-08-03 17:14:19 +03:00
parasite-syscall.c Replace remaining hard-coded TASK_SIZE use 2015-08-03 17:14:19 +03:00
pipes.c pipe: add ability to restore both ends of inhereted pipes 2015-07-15 17:35:59 +03:00
plugin.c plugin: Rework plugins API, v2 2014-09-03 20:48:36 +04:00
proc_parse.c mount: handle mnt_flags and sb_flags separatly (v4) 2015-09-21 11:55:17 +03:00
protobuf-desc.c criu: add constants about user namespaces 2014-11-07 17:00:32 +04:00
protobuf.c img: Don't create empty images 2015-03-16 15:58:32 +03:00
pstree.c mnt: Add comment about mntns to tasks assignment 2015-04-01 12:37:23 +03:00
ptrace.c ptrace: print error code for PTRACE_DETACH 2015-09-01 12:26:03 +03:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README.md Updated README 2015-05-19 22:38:06 +03:00
rst-malloc.c Use run-time page_size() for mremap 2015-07-28 13:38:30 +03: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 security: add cr_fchown 2015-02-10 16:54:31 +03:00
seize.c seize: fix used after free case 2015-09-01 12:25:33 +03:00
shmem.c page-read: Explicitly mark ENOENT with return code 2015-03-13 14:42:11 +03: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: Remove O_OPT and COLLECT_OPTIONAL 2015-03-13 14:42:01 +03:00
sk-inet.c rst: Fix rst_tcp_sock memory management 2015-07-14 13:59:21 +03:00
sk-netlink.c img: Remove O_OPT and COLLECT_OPTIONAL 2015-03-13 14:42:01 +03:00
sk-packet.c img: Remove O_OPT and COLLECT_OPTIONAL 2015-03-13 14:42:01 +03:00
sk-queue.c img: Introduce the struct cr_img 2014-09-30 21:48:13 +04:00
sk-tcp.c tcp: disable the repair mode only for sockets of a current process (v3) 2015-07-15 17:35:21 +03:00
sk-unix.c sk-unix: Fix memory leak on error path 2015-08-05 13:45:37 +03:00
sockets.c socket: remove unused code 2015-08-03 17:06:19 +03: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 sysctl: Make CTL_READ nonfatal 2015-05-12 15:58:58 +03:00
sysfs_parse.c Ignore mnt_id value for AUFS file descriptors. 2015-02-09 14:07:40 +03:00
timerfd.c rst: Fix timerfd rst memory management 2015-07-14 13:59:39 +03:00
tty.c tty: Drop TTY_SUBTYPE_SLAVE from /dev/console and /dev/tty 2015-04-02 20:20:23 +03:00
tun.c tunfile_open(): don't leak fd on error path 2015-05-08 15:32:17 +03:00
util.c util: add ability to execute programs in a specified userns 2015-08-07 14:42:01 +03:00
uts_ns.c sysctl: Pass number of requests in argument 2015-05-05 14:14:24 +03:00
vdso.c vdso: merge per arch vdso.c file in a common one 2015-09-10 14:07:20 +03:00

CRIU (Checkpoint and Restore in Userspace)

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:

How to contribute