[CRIU] [PATCH 00/13] Dump/restore of pending signals (v6)

Alexander Kartashov alekskartashov at parallels.com
Mon Mar 18 02:03:07 EDT 2013


On 03/15/2013 05:49 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
> v6: clean up
>
> Alexander Kartashov (2):
>    arm: added the descriptions of the syscalls pread64, rt_sigqueueinfo,
>      signalfd4, rt_tgsigqueueinfo
>    arm: added architecture-specific implementation of __cr_restore_rt
>
> Andrey Vagin (11):
>    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 (v4)
>    crtools: restore pending signals (v3)
>    check: check PTRACE_PEEKSIGINFO and sigqueueinfo with positive
>      si_code (v2)
>    crtools: remove declaration of rt_sigset_t
>    restore: set up a handler for collecting signals from zombies (v2)
>    restore: collect signals from zombies (v2)
>    zdtm.sh: add static/sigpending in the default set
>
>   arch/arm/include/asm/types.h       |  19 ++-
>   arch/arm/syscall-common.S          |   4 +
>   arch/arm/syscall.def               |   4 +
>   arch/x86/include/asm/types.h       |  20 ++--
>   arch/x86/syscall-common-x86-64.S   |   5 +
>   cr-check.c                         |  53 +++++++++
>   cr-dump.c                          |  72 +++++++++++-
>   cr-restore.c                       | 138 +++++++++++++++++++++-
>   cr-show.c                          |  23 ++++
>   image.c                            |   2 +
>   include/crtools.h                  |   3 +
>   include/magic.h                    |   2 +
>   include/protobuf.h                 |   1 +
>   include/ptrace.h                   |  13 +++
>   include/restorer.h                 |  10 ++
>   include/sigframe.h                 |   4 +-
>   pie/parasite.c                     |   2 +-
>   pie/restorer.c                     |  83 ++++++++++++-
>   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 +++++++++++++++++++++++++++++++++++++
>   24 files changed, 663 insertions(+), 37 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

Signed-off-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