[CRIU] [PATCH 00/10] Dump/restore of pending signals (v5)
Andrey Vagin
avagin at openvz.org
Tue Mar 5 09:54:32 EST 2013
PTRACE_PEEKSIGINFO is used for dumping signals.
rt_sigqueueinfo is used for restoring.
http://wiki.criu.org/Pending_signals
v2: Restore private signals
Collect all extra SIGCHLD from zombies.
Save in a protobuf format.
v3: Clean up
v4: rework according with the new kernel interface
v4: rework according with the newest kernel interface
Andrey Vagin (10):
zdtm: add a test case for pending signals
protobuf: add a new description for saving siginfo-s
crtools: add a callback to show signal=*.img
crtools: add image contants for pending signals (v2)
crtools: dump pending signals (v3)
crtools: restore pending signals (v2)
check: check PTRACE_PEEKSIGINFO and sigqueueinfo with positive
si_code
restore: set up a handler for collecting signals from zombies
restore: collect signals from zombies (v2)
zdtm.sh: add static/sigpending in the default set
arch/x86/include/asm/types.h | 2 +
cr-check.c | 53 +++++++++
cr-dump.c | 71 +++++++++++-
cr-restore.c | 134 ++++++++++++++++++++-
cr-show.c | 23 ++++
image.c | 2 +
include/crtools.h | 3 +
include/image.h | 2 +
include/protobuf.h | 1 +
include/ptrace.h | 13 +++
include/restorer.h | 10 ++
pie/restorer.c | 84 +++++++++++++-
protobuf.c | 2 +
protobuf/Makefile | 1 +
protobuf/siginfo.proto | 3 +
test/zdtm.sh | 1 +
test/zdtm/live/static/Makefile | 3 +
test/zdtm/live/static/sigpending.c | 232 +++++++++++++++++++++++++++++++++++++
18 files changed, 632 insertions(+), 8 deletions(-)
create mode 100644 protobuf/siginfo.proto
create mode 100644 test/zdtm/live/static/sigpending.c
--
1.7.11.7
More information about the CRIU
mailing list