[CRIU] [PATCH 08/32] tools: cpt2 -- Introduce io operations

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 30 17:42:46 EDT 2013


These are general io operations which will
be used all over the tool code (note if needed
we can easily switch read/write system calls
with mmap'ed io if needed. For now I left it
in regular read/write operations until all things
are stabilized).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tools/cpt2/src/Makefile     |  1 +
 tools/cpt2/src/include/io.h | 46 +++++++++++++++++++++++++++++
 tools/cpt2/src/io.c         | 72 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+)
 create mode 100644 tools/cpt2/src/include/io.h
 create mode 100644 tools/cpt2/src/io.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-tools-cpt2-Introduce-io-operations.patch
Type: text/x-patch
Size: 3422 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/894a3691/attachment-0001.bin>


More information about the CRIU mailing list