[CRIU] [PATCH 00/10] Dump/restore of pending signals (v5)

Alexander Kartashov alekskartashov at parallels.com
Mon Mar 11 02:19:28 EDT 2013


On 03/05/2013 06:54 PM, Andrey Vagin wrote:
> 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
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu

The patchset is

Tested-by: Alexander Kartashov <alekskartashov at parallels.com>

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list