No description
Find a file
Andrey Vagin d6ae662374 cr-dump: call stat for /proc/pid/fd/X directly
This patch can be committed instead of:
[PATCH 1/6] cr-dump: move parasite_drain_fds_seized out of dump_task_files
[PATCH 2/6] cr-dump: fix dumping file locks in a mount namespace

readlink is not required here and a file can be unavailable,
if a process is in another mnt namespace

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-21 17:34:27 +04:00
arch/x86 syscall: add sigqueueinfo, signalfd and pread 2013-01-18 11:50:51 +04:00
Documentation doc: update the manpage document for file lock c/r 2013-01-17 14:42:44 +04:00
include rst: Evaluate per-task clone mask early 2013-01-19 01:16:19 +04:00
pie cr: introduced the functions decode_pointer() and encode_pointer() 2013-01-18 11:41:43 +04:00
protobuf img: Save crtools process IDs in inventory 2013-01-18 13:25:02 +04:00
test zdtm: sched_prio -- Add missing headers 2013-01-21 17:32:18 +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 cr-dump: call stat for /proc/pid/fd/X directly 2013-01-21 17:34:27 +04:00
cr-exec.c exec: Implement basic remote syscall execution 2012-12-18 00:26:37 +03:00
cr-restore.c rst: Evaluate per-task clone mask early 2013-01-19 01:16:19 +04:00
cr-show.c crtools: add a callback to show filelocks-%d.img 2013-01-17 14:38:40 +04:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
crtools.c cr: Obsolete the --namespaces option 2013-01-18 13:25:16 +04:00
eventfd.c cr: generalized format strings 2013-01-16 19:20:08 +04:00
eventpoll.c cr: generalized format strings 2013-01-16 19:20:08 +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
file-lock.c file-lock.c: generalized format strings 2013-01-18 11:41:37 +04:00
files-reg.c cr: generalized format strings 2013-01-16 19:20:08 +04:00
files.c fdt: Move shared-fdt structure preparation into separate fn 2013-01-19 00:30:42 +04:00
fsnotify.c fsnotify: Don't fail on old versions where no inotify/fanotify image present 2013-01-17 19:20:41 +04:00
image.c cr: Fix namespaces restore from older images 2013-01-18 13:25:26 +04:00
ipc_ns.c ipc: restore IPC objects credentials 2013-01-17 16:00:48 +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 crtools: collect and check file locks 2013-01-17 14:42:07 +04:00
mount.c ns: Introduce ns descriptors 2013-01-15 23:24:01 +04:00
namespaces.c rst: Evaluate per-task clone mask early 2013-01-19 01:16:19 +04:00
net.c cr: Obsolete the --namespaces option 2013-01-18 13:25:16 +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 cr: Obsolete the --namespaces option 2013-01-18 13:25:16 +04:00
pipes.c cr: use the length modifier %z to print an integer of the type size_t 2013-01-18 11:41:38 +04:00
proc_parse.c crtools: don't prevent to dump memory mappings on /dev/zero (v2) 2013-01-17 14:46:33 +04:00
protobuf.c protobuf: add a new description for saving file-lock 2013-01-17 14:38:11 +04:00
pstree.c rst: Evaluate per-task clone mask early 2013-01-19 01:16:19 +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 cr: generalized format strings 2013-01-16 19:20:08 +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 protobuf: cast the result of the macro pb_repeated_size to size_t 2013-01-18 11:41:43 +04:00
sk-packet.c cr: use the length modifier %z to print an integer of the type size_t 2013-01-18 11:41:38 +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 cr: Obsolete the --namespaces option 2013-01-18 13:25:16 +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 cr: Obsolete the --namespaces option 2013-01-18 13:25:16 +04:00
sysctl.c cr: generalized format strings 2013-01-16 19:20:08 +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 cr: use the length modifier %z to print an integer of the type size_t 2013-01-18 11:41:38 +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)