No description
Find a file
Andrei Vagin b1751244aa soccr: add support for half-closed sockets
A socket is in one of half-closed states, if it sent a fin packet
or it received a fin packet.

CRIU plays with fin packets to restore half-closed states too.

When we need to sent a fin packet from a socket, we can call
shutdown(SHUT_WR). When a fin packet has to be restore in
a received queue, criu generate a fin packet and send it via
a raw ip socket.

A raw packet is sent with the SOCCR_MARK mark to be able
to not block it.

v2: remove the SOCCR_FLAGS_ACKED_FIN flag
    introduce sets of bits for different actions with fin packets

travis-ci: success for series starting with [01/21] build: install libnet-dev
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2017-01-16 11:04:48 +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 soccr: add support for half-closed sockets 2017-01-16 11:04:48 +03:00
Documentation crit: added crit manpage 2016-12-12 11:34:22 +03:00
images Add --weak_sysctl CLI option to RPC and lib 2016-12-05 23:34:54 +03:00
include/common files: Rework send/recv-fds to be more generic 2016-12-12 16:22:19 +03:00
lib py: Fix resp.errno access 2016-12-21 11:23:02 +03:00
scripts build: install libnet-dev 2017-01-16 11:03:43 +03:00
soccr soccr: add support for half-closed sockets 2017-01-16 11:04:48 +03:00
test zdtm/test: add infop to waitid() 2017-01-12 18:30:06 +03:00
.gitignore soccr: Generate config.h dynamically 2017-01-16 11:03:42 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml travis: enable arm/arm64/ppc builds with clang 2016-12-05 11:49:19 +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 Makefile.install: DESTDIR should be empty 2016-12-21 11:23:02 +03:00
Makefile build: only generate soccr config.h if necessary 2017-01-16 11:03:42 +03:00
Makefile.config make: Add .config file processing (v3) 2016-11-03 20:49:13 +03:00
Makefile.install Makefile.install: DESTDIR should be empty 2016-12-21 11:23:02 +03:00
Makefile.versions soccr: Wire into builder 2017-01-16 11:03:41 +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