No description
Find a file
Dmitry Safonov bd057dc3ad util: add parameter parenthesis to __open_proc statement in expr
Fixes small bug:
__open_proc() macro is called from parse_pid_loginuid as:
>	fd = __open_proc(pid, (ignore_noent) ? ENOENT : 0,
>			O_RDONLY, "loginuid");

So, ier parameter is badly expanded with current version:
>	if (__fd < 0 && (errno != (ignore_noent) ? ENOENT : 0)

Which in result does not hide "No such file" error on feature
test (at least with arm-gcc). Not a big deal, tho.

Reported-by: alex vk <avankemp@gmail.com>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-04-27 14:11:03 +03:00
contrib Add OverlayFS support to docker_cr.sh 2015-08-18 18:14:32 +03:00
crit crit: Add symbolic link for pycriu module 2016-03-01 12:50:47 +03:00
criu util: add parameter parenthesis to __open_proc statement in expr 2016-04-27 14:11:03 +03:00
Documentation rework criu check logic 2016-03-25 23:39:21 +03:00
images build: images -- Add missing cleanups 2016-03-25 23:39:22 +03:00
lib build: clean up various other bits 2016-03-16 16:16:08 +03:00
scripts criu: Drop prlimit compat layer 2016-04-07 13:58:42 +03:00
test zdtm: fix compilation of netns-dev 2016-04-27 14:11:03 +03:00
.gitignore git: ignore scripts/build/qemu-user-static/* 2016-03-16 16:16:09 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml travis: execute tests from travis 2016-02-24 13:17:44 +03:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
Makefile Makefile: drop 'rebuild' from help message 2016-04-01 18:06:31 +03:00
Makefile.install build: install -- Don't forget to init DESTDIR 2016-04-21 16:21:24 +03:00
Makefile.versions criu: Version 2.1 2016-04-11 11:19:43 +03:00
README.md Updated README 2015-05-19 22:38: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:

How to contribute