[CRIU] [GIT PULL] tools, cpt2: Initial merge, v2
Cyrill Gorcunov
gorcunov at openvz.org
Wed May 29 06:23:10 EDT 2013
Hi, here is an updated version of initial commit, protobuf and image descriptors
now are shared with criu code. Please consider merging (there are a few code duplication
remains such as opening image helpers and fdset management, but they are really
tiny ones and left as is otherwise I've to change too much of code of criu to
make object files reusable).
---
The following changes since commit 961742af2cf877e24ac08fea074f3eac2f046003:
image-desc: Don't forget to declare external @fdset_template (2013-05-29 13:39:06 +0400)
are available in the git repository at:
git://github.com/cyrillos/crtools.git cpt2
for you to fetch changes up to 3ab6c5c418ec7ee4ab7e677680f08e016294da19:
tools: cpt2 -- Initial commit (2013-05-29 14:19:25 +0400)
----------------------------------------------------------------
Cyrill Gorcunov (1):
tools: cpt2 -- Initial commit
tools/cpt2/Documentation/.gitattributes | 1 +
tools/cpt2/Documentation/.gitignore | 3 +
tools/cpt2/Documentation/Makefile | 18 +
tools/cpt2/Documentation/cpt2.txt | 37 +
tools/cpt2/Makefile | 131 +++
tools/cpt2/README.md | 8 +
tools/cpt2/src/Makefile | 28 +
tools/cpt2/src/context.c | 55 +
tools/cpt2/src/convert.c | 186 ++++
tools/cpt2/src/epoll.c | 147 +++
tools/cpt2/src/fdset.c | 49 +
tools/cpt2/src/files.c | 674 ++++++++++++
tools/cpt2/src/fsnotify.c | 318 ++++++
tools/cpt2/src/image.c | 132 +++
tools/cpt2/src/include/context.h | 47 +
tools/cpt2/src/include/convert.h | 6 +
tools/cpt2/src/include/cpt-image.h | 1820 +++++++++++++++++++++++++++++++
tools/cpt2/src/include/cpt2.h | 18 +
tools/cpt2/src/include/epoll.h | 23 +
tools/cpt2/src/include/fdset.h | 38 +
tools/cpt2/src/include/files.h | 57 +
tools/cpt2/src/include/fsnotify.h | 34 +
tools/cpt2/src/include/hashtable.h | 156 +++
tools/cpt2/src/include/image.h | 26 +
tools/cpt2/src/include/io.h | 46 +
tools/cpt2/src/include/log.h | 68 ++
tools/cpt2/src/include/magicfs.h | 12 +
tools/cpt2/src/include/mm.h | 105 ++
tools/cpt2/src/include/net.h | 83 ++
tools/cpt2/src/include/ns.h | 39 +
tools/cpt2/src/include/obj.h | 230 ++++
tools/cpt2/src/include/protobuf.h | 17 +
tools/cpt2/src/include/read.h | 13 +
tools/cpt2/src/include/sig.h | 26 +
tools/cpt2/src/include/string.h | 10 +
tools/cpt2/src/include/task.h | 29 +
tools/cpt2/src/include/tty.h | 58 +
tools/cpt2/src/include/types.h | 79 ++
tools/cpt2/src/io.c | 72 ++
tools/cpt2/src/log.c | 39 +
tools/cpt2/src/main.c | 88 ++
tools/cpt2/src/mm.c | 936 ++++++++++++++++
tools/cpt2/src/net.c | 695 ++++++++++++
tools/cpt2/src/ns.c | 219 ++++
tools/cpt2/src/obj.c | 270 +++++
tools/cpt2/src/protobuf.c | 69 ++
tools/cpt2/src/read.c | 305 ++++++
tools/cpt2/src/res/Makefile | 38 +
tools/cpt2/src/res/vdso-rhel5.so | Bin 0 -> 4704 bytes
tools/cpt2/src/res/vdso-rhel6.so | Bin 0 -> 4528 bytes
tools/cpt2/src/sig.c | 168 +++
tools/cpt2/src/string.c | 33 +
tools/cpt2/src/task.c | 853 +++++++++++++++
tools/cpt2/src/tty.c | 221 ++++
54 files changed, 8833 insertions(+)
create mode 100644 tools/cpt2/Documentation/.gitattributes
create mode 100644 tools/cpt2/Documentation/.gitignore
create mode 100644 tools/cpt2/Documentation/Makefile
create mode 100644 tools/cpt2/Documentation/cpt2.txt
create mode 100644 tools/cpt2/Makefile
create mode 100644 tools/cpt2/README.md
create mode 100644 tools/cpt2/src/Makefile
create mode 100644 tools/cpt2/src/context.c
create mode 100644 tools/cpt2/src/convert.c
create mode 100644 tools/cpt2/src/epoll.c
create mode 100644 tools/cpt2/src/fdset.c
create mode 100644 tools/cpt2/src/files.c
create mode 100644 tools/cpt2/src/fsnotify.c
create mode 100644 tools/cpt2/src/image.c
create mode 100644 tools/cpt2/src/include/context.h
create mode 100644 tools/cpt2/src/include/convert.h
create mode 100644 tools/cpt2/src/include/cpt-image.h
create mode 100644 tools/cpt2/src/include/cpt2.h
create mode 100644 tools/cpt2/src/include/epoll.h
create mode 100644 tools/cpt2/src/include/fdset.h
create mode 100644 tools/cpt2/src/include/files.h
create mode 100644 tools/cpt2/src/include/fsnotify.h
create mode 100644 tools/cpt2/src/include/hashtable.h
create mode 100644 tools/cpt2/src/include/image.h
create mode 100644 tools/cpt2/src/include/io.h
create mode 100644 tools/cpt2/src/include/log.h
create mode 100644 tools/cpt2/src/include/magicfs.h
create mode 100644 tools/cpt2/src/include/mm.h
create mode 100644 tools/cpt2/src/include/net.h
create mode 100644 tools/cpt2/src/include/ns.h
create mode 100644 tools/cpt2/src/include/obj.h
create mode 100644 tools/cpt2/src/include/protobuf.h
create mode 100644 tools/cpt2/src/include/read.h
create mode 100644 tools/cpt2/src/include/sig.h
create mode 100644 tools/cpt2/src/include/string.h
create mode 100644 tools/cpt2/src/include/task.h
create mode 100644 tools/cpt2/src/include/tty.h
create mode 100644 tools/cpt2/src/include/types.h
create mode 100644 tools/cpt2/src/io.c
create mode 100644 tools/cpt2/src/log.c
create mode 100644 tools/cpt2/src/main.c
create mode 100644 tools/cpt2/src/mm.c
create mode 100644 tools/cpt2/src/net.c
create mode 100644 tools/cpt2/src/ns.c
create mode 100644 tools/cpt2/src/obj.c
create mode 100644 tools/cpt2/src/protobuf.c
create mode 100644 tools/cpt2/src/read.c
create mode 100644 tools/cpt2/src/res/Makefile
create mode 100644 tools/cpt2/src/res/vdso-rhel5.so
create mode 100644 tools/cpt2/src/res/vdso-rhel6.so
create mode 100644 tools/cpt2/src/sig.c
create mode 100644 tools/cpt2/src/string.c
create mode 100644 tools/cpt2/src/task.c
create mode 100644 tools/cpt2/src/tty.c
More information about the CRIU
mailing list