No description
Find a file
Cyrill Gorcunov bc002e8537 Add strlcpy helper
Same as kernel provides, adopted from Linux sources.

strlcpy is similar to strncpy but _always_ adds \0
at the end of string even if destination is shorter.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-08-28 19:06:43 +04:00
arch atomic: Use atomic_read instead of atomic_get 2013-08-16 19:37:06 +04:00
Documentation docs: Add 'cleanup-y' description to Makefile.build.txt 2013-08-28 17:04:38 +04:00
include Add strlcpy helper 2013-08-28 19:06:43 +04:00
lib v2 criu: Initial skeleton for criu library 2013-07-18 21:47:11 +04:00
pie rst: Remove threads restore serialization 2013-08-12 09:17:02 +04:00
protobuf net: Dump and restore netdev address 2013-08-24 01:07:33 +04:00
scripts Add strlcpy helper 2013-08-28 19:06:43 +04:00
test zdtm: return back tun test to auto-list 2013-08-28 17:17:43 +04:00
.gitignore build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +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: Add tun support 2013-08-23 19:18:47 +04:00
cr-dump.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
cr-exec.c exec: Add support for return-arguments 2013-06-08 00:37:05 +04:00
cr-restore.c restore: decode exit status in sigchld_handler 2013-08-28 17:16:55 +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 page-server: Convert opts.addr into char * 2013-08-11 12:01:14 +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 build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
files.c files: Don't perform fd rst stages, if they will be no-op 2013-08-23 23:28:44 +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 show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +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 build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
Makefile.config Add strlcpy helper 2013-08-28 19:06:43 +04:00
Makefile.crtools Add strlcpy helper 2013-08-28 19:06:43 +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 show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
namespaces.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +04:00
net.c show: Replace one-line show_foo calls with args array 2013-08-24 04:00:32 +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 build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
pipes.c build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +04:00
proc_parse.c proc: fix memory leak 2013-07-08 13:40:23 +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 build: Generate most of the pb-desc automatically 2013-08-23 21:47:31 +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 v2 fix data loss when dumping semi-closed unix stream connection. 2013-08-28 16:52:17 +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: Check for xmalloc error 2013-08-28 17:20:44 +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)