No description
Find a file
Cyrill Gorcunov df4e243ea0 ipc: Don't access data out of allocated slab
We should zeroify all data actually for security
reason but this aspect will be addressed in further
patches.

Meanwhile at least allocate enought space so pb_write
won't access data which is not allocated for us.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-09-14 14:55:57 +04:00
arch atomic: Use atomic_read instead of atomic_get 2013-08-16 19:37:06 +04:00
Documentation doc: make -- Add description for `obj-ext-src-y' 2013-09-04 16:16:52 +04:00
include unix: Handle service socket on dump and restore 2013-09-13 15:53:20 +04:00
lib make: libcriu -- Use `obj-ext-src-y' target for pie/util-fd.c recompilation 2013-09-04 16:16:51 +04:00
pie pie: don't use pr_perror in pie code 2013-08-30 16:44:16 +04:00
protobuf protobuf: Add rpc.proto file with messages description 2013-09-13 15:52:51 +04:00
scripts make: Clean up build *.so if requested only 2013-09-10 12:01:57 +04:00
test test/zdtm.sh: check for extra arguments 2013-09-14 14:54:41 +04:00
.gitignore git: Don't track *.so files 2013-08-29 14:48:17 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add LGPL licence for library directory 2013-04-01 12:29:06 +04:00
cr-check.c check: Soft-dirty support is upstream since v3.11 2013-09-03 14:21:11 +04:00
cr-dump.c dump: Don't dump if children's uids are not equal to client's uid 2013-09-13 15:53:42 +04:00
cr-exec.c exec: Add support for return-arguments 2013-06-08 00:37:05 +04:00
cr-restore.c cr-restore.c: fixed compilation errors on ARM 2013-08-30 15:10:58 +04:00
cr-service.c crtools: Add cr_service meat 2013-09-13 15:53:06 +04:00
cr-show.c show: Remove excessive includes 2013-08-24 17:50:35 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools crtools: rename binary to criu 2013-04-30 20:17:55 +04:00
crtools.c crtools: Add cr_service meat 2013-09-13 15:53:06 +04:00
eventfd.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
eventpoll.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
fifo.c collect: Shorten common images collecting code 2013-08-21 03:52:18 +04:00
file-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
file-lock.c Fix typos in log messages 2013-04-15 12:46:25 +04:00
files-reg.c files: Remove FIXME from comment 2013-08-29 10:13:55 +04:00
files.c files: Add more comments about shared files dump/restore 2013-09-10 12:13:36 +04:00
fsnotify.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
image-desc.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
image.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
ipc_ns.c ipc: Don't access data out of allocated slab 2013-09-14 14:55:57 +04:00
kcmp-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
kerndat.c kerndat: Produce sane error messgaes 2013-08-09 15:37:35 +04:00
libnetlink.c netlink: Lower netlink error report log level 2013-07-04 15:49:02 +04:00
log.c log: log_init -- Check for dup return code 2013-04-12 20:50:27 +04:00
Makefile criu: Version 0.7 release 2013-09-03 15:32:52 +04:00
Makefile.config Add strlcpy helper 2013-08-28 19:06:43 +04:00
Makefile.crtools crtools: initial skeleton for cr_service 2013-09-13 15:50:39 +04:00
Makefile.inc Makefiles: add install target 2013-05-03 01:56:30 +04:00
mem.c parasite: Rename ack-waiting function to look better 2013-07-17 08:56:17 +04:00
mount.c mount: don't close a namespace descriptor two times 2013-09-03 13:59:01 +04:00
namespaces.c ns: Mark descs array static 2013-08-24 15:30:39 +04:00
net.c net: Sanitize dump_links() function code 2013-09-10 12:45:42 +04:00
netfilter.c tcp: block connections in both directions 2013-08-06 14:21:12 +04:00
page-pipe.c page-pipe: fixed format strings 2013-04-30 18:31:34 +04:00
page-read.c page-read: print errno in case of failure 2013-08-28 17:00:17 +04:00
page-xfer.c page-server: Convert opts.addr into char * 2013-08-11 12:01:14 +04:00
parasite-syscall.c parasite: take into account the fact that a file descriptor can be zero 2013-09-03 14:58:13 +04:00
pipes.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
proc_parse.c mm: don't add a guard page if a prev vma grows-down too 2013-08-30 14:22:35 +04:00
protobuf-desc.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
protobuf-gen.sh build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
protobuf.c collect: Reduce amount of args to collect_image call 2013-08-21 03:27:06 +04:00
pstree.c pstree: Allocate and free sas entry 2013-07-10 17:31:09 +04:00
ptrace.c Change crtools to criu in criu messages 2013-05-10 11:02:20 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README README: crtools to criu rename 2013-05-10 11:02:02 +04:00
shmem.c rst: Formalize the shared resource restore order 2013-08-29 08:07:15 +04:00
sigframe.c restore: Add restoration of alternative signal stack 2013-07-10 17:31:12 +04:00
signalfd.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-inet.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-netlink.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-packet.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-queue.c v2 fix data loss when dumping semi-closed unix stream connection. 2013-08-28 16:52:17 +04:00
sk-tcp.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
sk-unix.c unix: Check service client for being null 2013-09-13 16:42:01 +04:00
sockets.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
stats.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
string.c Add strlcpy helper 2013-08-28 19:06:43 +04:00
sysctl.c sysctl: Don't forget to close fds 2013-04-05 08:23:17 +04:00
tty.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
tun.c tun: Use shorter name for ifr_name 2013-09-10 12:01:28 +04:00
util.c util: Make set_proc_mountpoint static 2013-08-11 20:02:33 +04:00
uts_ns.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00

criu
====

An utility to checkpoint/restore tasks.

Some code snippets are borrowed from

 - Linux kernel (http://kernel.org/)
 - git (http://git-scm.com/)
 - kvm-tools (https://github.com/penberg/linux-kvm)
 - ptrace-parasite (https://code.google.com/p/ptrace-parasite/)

Many thanks to these projects.

Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)