2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00
Tycho Andersen 0d8aec0c3a seccomp: add initial support for SECCOMP_MODE_STRICT
Unfortunately, SECCOMP_MODE_FILTER is not currently exposed to userspace,
so we can't checkpoint that. In any case, this is what we need to do for
SECCOMP_MODE_STRICT, so let's do it.

This patch works by first disabling seccomp for any processes who are going
to have seccomp filters restored, then restoring the process (including the
seccomp filters), and finally resuming the seccomp filters before detaching
from the process.

v2 changes:

* update for kernel patch v2
* use protobuf enum for seccomp type
* don't parse /proc/pid/status twice

v3 changes:

* get rid of extra CR_STAGE_SECCOMP_SUSPEND stage
* only suspend seccomp in finalize_restore(), just before the unmap
* restore the (same) seccomp state in threads too; also add a note about
  how this is slightly wrong, and that we should at least check for a
  mismatch

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-06-24 17:38:32 +03:00
2012-03-25 23:31:20 +04:00
2015-02-09 14:07:07 +03:00
2015-04-22 15:39:05 +03:00
2013-04-01 12:29:06 +04:00
2015-05-05 13:36:29 +03:00
2014-12-19 18:58:46 +03:00
2012-07-30 13:52:37 +04:00
2013-04-30 20:17:55 +04:00
2014-09-30 21:48:10 +04:00
2014-09-30 21:48:13 +04:00
2014-09-30 21:48:13 +04:00
2015-05-05 13:37:16 +03:00
2015-05-29 13:57:18 +03:00
2015-05-05 13:36:29 +03:00
2015-04-14 15:18:32 +03:00
2015-03-13 14:42:54 +03:00
2014-04-22 12:51:15 +04:00
2015-05-08 15:32:26 +03:00
2015-04-01 12:36:46 +03:00
2015-05-05 13:36:29 +03:00
2014-09-03 20:56:58 +04:00
2015-03-13 14:42:54 +03:00
2015-01-12 14:46:51 +03:00
2014-09-03 20:48:36 +04:00
2015-03-16 15:58:32 +03:00
2015-05-19 22:38:06 +03:00
2013-12-12 10:00:45 +04:00
2013-12-12 09:58:50 +04:00
2013-12-12 09:58:50 +04:00
2015-02-10 16:54:31 +03:00
2014-09-30 21:48:13 +04:00
2014-09-30 21:48:13 +04:00
2013-11-29 15:36:07 +04:00
2015-05-12 15:58:58 +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

Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%