No description
Find a file
Yicheng Qin e2c6abcb6a test/zdtm/cwd00: add error checking to cleanup code
The checking helps debug unexpected failures.

The patch is useful to debug test failure. Chdir() may meet failure
if the process does not have enough permissioin. Then, it cannot
rename in-progress output file to output file. Finally, test script
cannot catch 'PASS' flag from the output file and record it as
failure. As the result, the test fails without any error message.

Signed-off-by: Yicheng Qin <yichengq@google.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-08-07 12:45:06 +04:00
arch parasite: modify process memory only for executing syscalls 2013-07-16 17:24:17 +04:00
Documentation Documentation/Makefile: fix clean target 2013-05-10 11:01:57 +04:00
include mount: Factor out detached mountpoint opening 2013-07-29 13:12:00 +04:00
lib v2 criu: Initial skeleton for criu library 2013-07-18 21:47:11 +04:00
pie mount: Factor out detached mountpoint opening 2013-07-29 13:12:00 +04:00
protobuf protobuf: Add thread_sas_entry 2013-07-10 17:31:08 +04:00
scripts make: config -- Add test for prlimit call 2013-05-23 15:12:56 +04:00
test test/zdtm/cwd00: add error checking to cleanup code 2013-08-07 12:45:06 +04:00
.gitignore git: Drop include/config.h from monitoring 2013-05-24 20:12:07 +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 util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
cr-dump.c dump: Introduce "post-dump" script action 2013-07-22 19:35:28 +04:00
cr-exec.c exec: Add support for return-arguments 2013-06-08 00:37:05 +04:00
cr-restore.c rst: Add some comments to VMAs inheritance procedure 2013-07-25 18:29:03 +04:00
cr-show.c posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +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: Fix -v option to conform to common sense 2013-06-11 20:12:03 +04:00
eventfd.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
eventpoll.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
fifo.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +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-reg: Show ghost file name on error 2013-07-01 16:39:01 +04:00
files.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
fsnotify.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
image-desc.c posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +04:00
image.c image: Move image descriptors to own files 2013-05-28 22:12:06 +04:00
ipc_ns.c ipc_ns: allocate enough memrory for the buffer 2013-05-21 19:06:03 +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: Sanitize pagemap entry read err check 2013-07-02 09:52:22 +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 util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
Makefile.config make: config -- Add test for prlimit call 2013-05-23 15:12:56 +04:00
Makefile.crtools image: Move image descriptors to own files 2013-05-28 22:12:06 +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: Factor out detached mountpoint opening 2013-07-29 13:12:00 +04:00
namespaces.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
net.c net: Print link kind when reporting inability to dump such 2013-06-11 16:49:11 +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 mm: handle new processes which created between snapshots (v2) 2013-06-27 23:47:15 +04:00
page-xfer.c page-server: Add daemonize call return check 2013-05-21 19:05:15 +04:00
parasite-syscall.c parasite: Rename ack-waiting function to look better 2013-07-17 08:56:17 +04:00
pipes.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
proc_parse.c proc: fix memory leak 2013-07-08 13:40:23 +04:00
protobuf-desc.c posix-timer: Add protobuf message and rename to protobuf/timer.proto 2013-07-01 16:19:23 +04:00
protobuf.c protobuf: Move descriptors definitions to own file 2013-05-28 22:11:59 +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 shmem: Print shmem ID on dump in decimal 2013-05-16 16:20:17 +04:00
sigframe.c restore: Add restoration of alternative signal stack 2013-07-10 17:31:12 +04:00
signalfd.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
sk-inet.c inet: Restore SO_REUSEADDR in case of rollback 2013-07-16 14:48:24 +04:00
sk-netlink.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
sk-packet.c files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
sk-queue.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
sk-tcp.c tcp: show PB_TCP_STREAM as a single entry 2013-07-31 17:14:18 +04:00
sk-unix.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
sockets.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
stats.c mem/stats: Add stats about memory dumping 2013-05-15 15:46:07 +04:00
sysctl.c sysctl: Don't forget to close fds 2013-04-05 08:23:17 +04:00
tty.c util: Rename pie's util-net.c into util.c 2013-07-29 12:43:30 +04:00
util.c dump: Introduce "post-dump" script action 2013-07-22 19:35:28 +04:00
uts_ns.c ns: Extend ns_desc to carry the length of the ns name 2013-05-18 03:36:56 +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)