criu/Documentation
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
..
.gitattributes docs: Initial commit 2012-01-29 00:09:32 +04:00
.gitignore Doc/Makefile: add ps and pdf generation 2014-01-11 09:16:40 +04:00
asciidoc.conf docs: Initial commit 2012-01-29 00:09:32 +04:00
criu.txt seccomp: add a --no-seccomp option to disable dumping seccomp 2016-02-17 13:46:55 +03:00
HOWTO.cross-compile Documentation: remove the linker command line switch --static from the final step described in the cross-compilation guide 2014-03-11 22:47:38 +04:00
Makefile build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00