No description
Find a file
Andrey Vagin 24074a9dbb zdtm: add new test case for checking that SID is restored
2     2 session00
    4     4  \_ session00		# {NEWSID, },
    2     5  \_ session00		# {0, },
    8     8  \_ session00
    2     9  |   \_ session00           # {CHANGESID, }
   10    10  \_ session00
   11    11      \_ session00
    2    12          \_ session00	# {DOUBLE_CHANGESID | CHANGESID, }
    2     3 session00			# {DETACH, },
    6     7 session00			# {DETACH|NEWSID, },

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-06-22 12:15:30 +04:00
Documentation docs: Add -s option 2012-05-03 16:21:15 +04:00
include restore: restore sid of task which isn't leaders and isn't a child of init (v4) 2012-06-22 12:13:58 +04:00
test zdtm: add new test case for checking that SID is restored 2012-06-22 12:15:30 +04:00
tools tools: Update commit bot 2012-02-07 18:37:03 +04:00
.gitignore gitignore: Add syscall generated files 2012-04-28 16:35:40 +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
cr-check.c tcp: Add code for "check"-ing TCP repair support 2012-05-03 15:21:37 +04:00
cr-dump.c dump: don't check xids 2012-06-22 12:14:35 +04:00
cr-restore.c restore: check own sid instead of parent's one 2012-06-22 12:15:23 +04:00
cr-show.c pstree: rename fields in struct pid 2012-06-22 12:09:44 +04:00
crtools.c crtools: add "pid" to the --namespaces cmdline option arguments (v3) 2012-06-22 12:08:57 +04:00
eventfd.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
eventpoll.c eventpoll, inotify: Don't fail on watchees absence 2012-05-12 16:23:33 +04:00
file-ids.c kcmp: Introduce generic object ID generator 2012-04-09 18:01:18 +04:00
files-reg.c files-reg: Eliminate memory leak in open_remap_ghost on errors 2012-06-21 12:13:05 +04:00
files.c pstree: rename fields in struct pid 2012-06-22 12:09:44 +04:00
gen-offsets.sh make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
inotify.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
ipc_ns.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
kcmp-ids.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
libnetlink.c log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
log.c log: Open logc files with O_TRUNC 2012-05-30 12:29:50 +04:00
Makefile files: Move regular files handling code to files-reg 2012-06-21 12:10:13 +04:00
Makefile.inc make: Eliminate deps build on no-deps targets in zdtm 2012-01-25 19:14:39 +04:00
Makefile.pie make: Split generation of %.bin and %.bin.o into two rules 2012-04-19 12:12:06 +04:00
Makefile.syscall make: Fix typo in Makefile.syscall 2012-04-19 12:11:08 +04:00
mount.c proc: Sanitize mountinfo parsing 2012-05-13 08:34:16 +04:00
namespaces.c pstree: rename fields in struct pid 2012-06-22 12:09:44 +04:00
netfilter.c Escape using unsafe sprintf helper 2012-06-20 15:04:51 +04:00
parasite-head-x86-64.S parasite: Move bootstrap code into parasite-head-x86-64.S 2012-04-18 18:22:52 +04:00
parasite-syscall.c dump: rename dump_tid_addr to dump_tid_info 2012-06-21 12:18:50 +04:00
parasite.c dump: rename dump_tid_addr to dump_tid_info 2012-06-21 12:18:50 +04:00
pie.lds.S make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
pipes.c fd: Remove ID from fd_parm 2012-06-20 19:24:46 +04:00
proc_parse.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
ptrace.c Helper for si_code event extraction. 2012-04-25 21:35:40 +04:00
rbtree.c fown: Fix compilation for older distros 2012-04-25 21:36:43 +04:00
README Drop kernel patching from README 2012-01-29 16:26:36 +04:00
restorer-log.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
restorer.c restorer: exit all threads in case of error 2012-06-19 12:45:44 +04:00
shmem.c Escape using unsafe sprintf helper 2012-06-20 15:04:51 +04:00
sk-inet.c sockets, inet: Use general machnism for checkpoint/restore v2 2012-05-30 12:56:04 +04:00
sk-queue.c crtools: remove unused variables (v3) 2012-05-18 19:01:21 +04:00
sk-tcp.c sockets, inet: Use general machnism for checkpoint/restore v2 2012-05-30 12:56:04 +04:00
sk-unix.c sockets, unix: Use general machnism for checkpoint/restore v2 2012-05-30 12:54:31 +04:00
sockets.c sk: Do not lookup a socket twice 2012-06-20 19:24:49 +04:00
syscall-common-x86-64.S syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
syscalls-x86-64.sh syscalls: Complete redesign v9 2012-04-18 18:23:19 +04:00
sysctl.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +04:00
util-net.c util-net: Make send/recv fds carry fd flags in message 2012-04-10 18:36:13 +04:00
util.c Escape using unsafe sprintf helper 2012-06-20 15:04:51 +04:00
uts_ns.c parasite: remove excessive header deps from parasite.h and friends 2012-05-30 12:50:18 +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)