No description
Find a file
Cyrill Gorcunov c28573fda1 zdtm: fanotify00 -- Make test to check all flags we c/r
Just reading if event entry exist in buffer is not
enough we rathee need to be sure that all flags
and bits are recovered well.

For this sake we parse fdinfo before and after the
c/r sessions and compare results.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-16 18:19:05 +04:00
arch/x86 syscall: Add __NR_fanotify_init and __NR_fanotify_mark 2013-01-15 18:34:27 +04:00
Documentation doc: Add syscalls execution description 2012-12-18 00:39:20 +03:00
include ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
pie restore: don't desable tcp repair mode twice 2013-01-14 18:47:19 +04:00
protobuf fsnotify: fanotify -- Group objects in image 2013-01-15 23:17:57 +04:00
test zdtm: fanotify00 -- Make test to check all flags we c/r 2013-01-16 18:19:05 +04:00
.gitignore Update .gitignore 2012-07-09 15:03:38 +04:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
COPYING Add COPYING file 2011-12-05 14:11:05 +04:00
cpu.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
cr-check.c check: Check for SO_BINDTODEVICE is get-able 2012-12-04 16:35:58 +03:00
cr-dump.c fsnotify: Add dumping of fanotify objects 2013-01-15 18:34:50 +04:00
cr-exec.c exec: Implement basic remote syscall execution 2012-12-18 00:26:37 +03:00
cr-restore.c restore: close_old_fds after restoring namespaces 2013-01-15 18:52:57 +04:00
cr-show.c multiarch: removed target architecture checks from the following files: 2013-01-14 13:48:07 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
eventfd.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
eventpoll.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
fifo.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
file-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
files-reg.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
files.c restore: restore pocesses which share one fdtable (v5) 2013-01-12 00:54:46 +04:00
fsnotify.c fsnotify: fanotify -- Take into accout global flag assigned to fanotify object 2013-01-16 18:18:45 +04:00
image.c inventory: Show this image with standard pb showers 2013-01-15 23:16:34 +04:00
ipc_ns.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
kcmp-ids.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
libnetlink.c libnetlink: Make sure there is no error happened when dumping is done 2012-11-06 13:41:36 +04:00
log.c log: Add generic __print_on_level helper 2013-01-14 14:26:18 +04:00
Makefile fsnotify: Rename inotify files to fsnotify 2013-01-15 18:34:26 +04:00
mount.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
namespaces.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
net.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
netfilter.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
parasite-syscall.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
pipes.c pipe: Dump and restore pipe size 2013-01-11 17:45:54 +04:00
proc_parse.c proc-parse: Add alloc_fhandle/free_fhandle helpers 2013-01-16 18:17:46 +04:00
protobuf.c image: fanotify -- Add scaffold code for fanotify objects 2013-01-15 18:34:32 +04:00
pstree.c restore: restore pocesses which share one fdtable (v5) 2013-01-12 00:54:46 +04:00
ptrace.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
rbtree.c code: Fix spaced indentation where found 2012-08-11 21:36:03 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
shmem.c shmem: Get rid of static array of dumped shmem areas 2012-08-17 00:20:58 +04:00
signalfd.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
sk-inet.c restore: don't desable tcp repair mode twice 2013-01-14 18:47:19 +04:00
sk-packet.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
sk-queue.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
sk-tcp.c restore: don't desable tcp repair mode twice 2013-01-14 18:47:19 +04:00
sk-unix.c files: pass a file descriptor on an fdinfo image instead of cr_fdset 2013-01-11 14:47:09 +04:00
sockets.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
sysctl.c sysctl: zero is a valid number for a file descriptor 2013-01-10 15:22:16 +04:00
tty.c crtools: add ability to create and close a service fd (v3) 2013-01-12 00:54:37 +04:00
util-net.c x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
util.c util: check that stdin are unused before closing 2013-01-15 18:52:59 +04:00
uts_ns.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00

crtools
=======

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)