No description
Find a file
Tycho Andersen a98014f306 seccomp: add a --no-seccomp option to disable dumping seccomp
Sometimes we may want to use CRIU on older kernels which don't support
dumping seccomp state where we don't actually care about the seccomp state.
Of course this is unsafe, but it does allow for c/r of things using
seccomp on these older kernels in some cases. When the task is in
SECCOMP_MODE_STRICT or SECCOMP_MODE_FILTER with filters that block the
syscalls criu's parasite code needs, the dump will still fail.

Note that we disable seccomp by simply feigning that we are in mode 0. This
is a little hacky, but avoids distributing ifs throughout the code and
keeps them in this one place.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
CC: Saied Kazemi <saied@google.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-17 13:46:55 +03:00
contrib Add OverlayFS support to docker_cr.sh 2015-08-18 18:14:32 +03:00
crit build: Move crit tool into crit directory 2016-02-15 15:32:42 +03:00
criu seccomp: add a --no-seccomp option to disable dumping seccomp 2016-02-17 13:46:55 +03:00
Documentation seccomp: add a --no-seccomp option to disable dumping seccomp 2016-02-17 13:46:55 +03:00
images seccomp: add a --no-seccomp option to disable dumping seccomp 2016-02-17 13:46:55 +03:00
lib seccomp: add a --no-seccomp option to disable dumping seccomp 2016-02-17 13:46:55 +03:00
scripts build: memfd -- Use SYS_memfd_create for libc sake 2016-02-16 10:47:51 +03:00
test gitignore: ignore more test dirs 2016-02-17 13:29:28 +03:00
.gitignore .gitignore -- Add back files to ignore 2016-02-15 19:21:12 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml build: Fix travis arch 2016-02-17 13:26:39 +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
Dockerfile Revert "travis: install libseccomp-dev" 2015-07-14 18:28:05 +03:00
Makefile build: docs -- Call cleaning on general clean action 2016-02-16 10:47:25 +03:00
Makefile.install build: crit -- Fix install target 2016-02-15 15:32:53 +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