criu/include
Andrey Vagin 2db92dee22 parasite: block signals for each parasite command
Pending signals should be saved, so signals should be blocked.
Signals are blocked for EACH command, because a chance of destroying a
process state should be a small as possible.

At the end there will only two "trapped" commands -- to dump thread
and to start daemon in parasite, so this doesn't add significant
overheads.

If crtools is killed between two commands, a dumped process will run
continue.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-07-16 17:24:17 +04:00
..
asm-generic asm: Add builtin_memcpy, builtin_memcmp generic helpers 2013-05-23 16:51:14 +04:00
bug.h clang: add an exception for BUG_ON_HANDLER 2013-04-04 14:00:21 +04:00
compiler.h include/compiler.h: Cleanup 2013-02-15 17:34:38 +04:00
cpu.h cpu: Make cpu routines being per-acrh 2013-02-18 18:42:08 +04:00
cr-show.h posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +04:00
crtools.h posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +04:00
err.h headers: Add err.h header 2013-04-02 20:27:51 +04:00
eventfd.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
eventpoll.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
fifo.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
file-ids.h headers: Change "../protobuf/" to "protobuf/" 2013-02-15 17:33:06 +04:00
file-lock.h lock: Show long option in log message about using one 2013-03-27 20:17:59 +04:00
files-reg.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
files.h ns: Add c/r for /proc/$pid/ns/$ids references 2013-05-18 04:00:05 +04:00
fsnotify.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
image-desc.h posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +04:00
image.h image: Move image descriptors to own files 2013-05-28 22:12:06 +04:00
inet_diag.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
ipc_ns.h crtools: Get rid of on-stack cr_options 2013-05-28 21:11:13 +04:00
kcmp-ids.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
kerndat.h soft-dirty: Check that kernel reports soft-dirty bits 2013-04-15 13:24:32 +04:00
libnetlink.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
list.h headers: list.h -- Add hlist helpers 2013-04-02 20:29:25 +04:00
lock.h locks: add futex_wait_while_eq 2013-05-24 16:43:26 +04:00
log-levels.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
log.h log: Make pr_err_once to use pr_err 2013-01-14 14:26:07 +04:00
magic.h posix-timer: Add fd, magic and show functionality. 2013-07-01 16:19:24 +04:00
mem.h mem: Add PME_ bits for page frame retrieval 2013-05-23 12:51:27 +04:00
mount.h crtools: Get rid of on-stack cr_options 2013-05-28 21:11:13 +04:00
namespaces.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
net.h crtools: Get rid of on-stack cr_options 2013-05-28 21:11:13 +04:00
netfilter.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
netlink_diag.h crtools: add netlink_diag.h 2013-03-26 00:23:13 +04:00
packet_diag.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
page-pipe.h mem: Comment page-read, page-xfer and page-pipe 2013-04-16 11:34:53 +04:00
page-read.h mem: Comment page-read, page-xfer and page-pipe 2013-04-16 11:34:53 +04:00
page-xfer.h page-server: allow to execute page-server in the background (v2) 2013-05-20 15:00:40 +04:00
parasite-syscall.h parasite: block signals for each parasite command 2013-07-16 17:24:17 +04:00
parasite.h signals: dump alternate stack as misc parameters 2013-07-16 17:24:16 +04:00
pipes.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
proc_parse.h posix-timer: Parse proc /proc/<pid>/timers and save info in list 2013-07-01 16:19:26 +04:00
protobuf-desc.h posix-timer: Add protobuf message and rename to protobuf/timer.proto 2013-07-01 16:19:23 +04:00
protobuf.h protobuf: Move descriptors definitions to own file 2013-05-28 22:11:59 +04:00
pstree.h parasite: use transparent thread indexes 2013-05-24 18:47:11 +04:00
ptrace.h check: check PTRACE_{GET,SET}SIGMASK 2013-07-16 17:24:16 +04:00
rbtree.h x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
restorer.h restorer: Use rst memory allocator for rlimits restore 2013-07-09 00:21:31 +04:00
shmem.h headers: Change "../protobuf/" to "protobuf/" 2013-02-15 17:33:06 +04:00
sigframe.h restore: Add restoration of alternative signal stack 2013-07-10 17:31:12 +04:00
signalfd.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
sk-inet.h inet: Restore SO_REUSEADDR in case of rollback 2013-07-16 14:48:24 +04:00
sk-packet.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
sk-queue.h show: Remove options args from ->show callback 2013-05-08 00:23:42 +04:00
sockets.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
stats.h mem/stats: Add stats about memory dumping 2013-05-15 15:46:07 +04:00
syscall-types.h syscalls: Add proper syscalls definition. 2013-07-01 16:19:21 +04:00
sysctl.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
tty.h files: Compact the code by removing per-file dump helpers 2013-06-14 00:11:08 +04:00
unix_diag.h x86: moved x86-specific files into the directory arch/x86. 2013-01-09 17:02:47 +04:00
util-net.h headers: Unify include guards (in comments) and a few fixes 2012-12-25 22:40:24 +04:00
util.h posix-timer: Add restore structures 2013-07-01 16:19:30 +04:00
uts_ns.h crtools: Get rid of on-stack cr_options 2013-05-28 21:11:13 +04:00
vdso.h vdso: Diet include/vdso.h 2013-06-13 19:41:09 +04:00
xmalloc.h headers: util.h -- Move memory helpers to xmalloc.h 2013-04-02 21:15:27 +04:00