criu/pie
Andrey Vagin bc3089983a restore: collect signals from zombies (v4)
Each zombie sends SIGCHLD to parent. crtools restores all pending
signals, so all other signals should be collected.

Here is a problems, that signals SIGCHLD can be merged, but crtools
should be sure, that all signals are collected.

For that a zombie locks a global zombie_lock, which is released by
parent.

This operation should be done between CR_STATE_RESTORE and
CR_STATE_RESTORE_SIGCHLD.

Here is one more CR_STATE_RESTORE_ZOMBIES, whic is used for waiting all
zombies.

v2: clean up
v3: rework synchronization
v4: rework without additional CR_STATE-s

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-03-25 23:44:10 +04:00
..
gen-offsets.sh parasite: Make parasite arguments variable size 2013-03-01 20:11:28 +04:00
log-simple.c print_hex_l: don't print more than 8 hex digits on a 32-bit machine 2013-01-18 11:41:40 +04:00
Makefile pie: Pass CR_NOGLIBC in pie/Makefile 2013-02-27 15:43:34 +04:00
parasite.c crtools: remove declaration of rt_sigset_t 2013-03-15 19:11:25 +04:00
pie.lds.S.in parasite: Make parasite arguments variable size 2013-03-01 20:11:28 +04:00
restorer.c restore: collect signals from zombies (v4) 2013-03-25 23:44:10 +04:00
util-net.c make: pie -- Switch to a new scheme 2013-02-18 18:10:45 +04:00