[CRIU] [PATCH 16/32] tools: cpt2 -- Add signal handlers reading scaffolds

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 30 17:42:54 EDT 2013


We just read signal handlers from image, and that's all.
The only thing which need to be kept in mind is that
OpenVZ image do skip signal handlers with default actions,
while in criu we do dump all signals.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tools/cpt2/src/Makefile      |   1 +
 tools/cpt2/src/include/sig.h |  24 ++++++++
 tools/cpt2/src/sig.c         | 133 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 158 insertions(+)
 create mode 100644 tools/cpt2/src/include/sig.h
 create mode 100644 tools/cpt2/src/sig.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-tools-cpt2-Add-signal-handlers-reading-scaffolds.patch
Type: text/x-patch
Size: 4030 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/fc33a409/attachment-0001.bin>


More information about the CRIU mailing list