No description
Find a file
Kir Kolyshkin d6d034a9d2 Use rlim_t where appropriate
I got the following then trying to compile CRIU on ARM with clang:

> criu/cr-restore.c:2476:22: error: implicit conversion from 'unsigned
> long long' to 'unsigned long' changes value from 18446744073709551615 to
> 4294967295 [-Werror,-Wconstant-conversion]
>         return ival == -1 ? RLIM_INFINITY : ival;
>         ~~~~~~              ^~~~~~~~~~~~~
> /usr/include/arm-linux-gnueabihf/bits/resource.h:117:24: note: expanded
> from macro 'RLIM_INFINITY'
> # define RLIM_INFINITY 0xffffffffffffffffuLL
>                        ^~~~~~~~~~~~~~~~~~~~~
> 1 error generated.

Fix by using provided rlim_t type in this and similar places.

travis-ci: success for Fixes to compile on arm with clang
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-11-12 11:04:38 +03:00
contrib Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
coredump coredump: Rename dir to coredump 2016-06-28 13:04:58 +03:00
crit crit/decode: set default opts['nopl'] to False 2016-05-30 13:47:54 +03:00
criu Use rlim_t where appropriate 2016-11-12 11:04:38 +03:00
Documentation criu(8): typos 2016-11-12 11:04:38 +03:00
images rpc: Add lost comment about ext_mount_map deprecation 2016-11-04 08:40:04 +03:00
include/common arm: rm -Wa from CFLAGS 2016-11-12 11:04:38 +03:00
lib lib: add inherit_fd 2016-10-24 16:00:15 +03:00
scripts make: Add .config file processing (v3) 2016-11-03 20:49:13 +03:00
test zdtm: check read-only tmpfs in userns 2016-11-03 20:47:41 +03:00
.gitignore make: Add .config file processing (v3) 2016-11-03 20:49:13 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml travis.yml: fix GCOV setting 2016-11-02 20:35:56 +03:00
COPYING COPYING: fix a typo in a preamble 2016-08-11 16:18:43 +03:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
INSTALL.md build: Add INSTALL.md and update "make help" 2016-05-06 14:38:29 +03:00
Makefile arm: rm -Wa from CFLAGS 2016-11-12 11:04:38 +03:00
Makefile.config make: Add .config file processing (v3) 2016-11-03 20:49:13 +03:00
Makefile.install build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
Makefile.versions criu: Version 2.7 2016-10-17 11:30:31 +03:00
README.md Add ascciinema tour on basic criu features. 2016-06-16 16:37:06 +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:

A video tour on basic CRIU features

CRIU introduction

How to contribute