Files
kernel_arpi/include/uapi/linux
Andrey Vagin 29000caecb ptrace: add ability to get/set signal-blocked mask
crtools uses a parasite code for dumping processes.  The parasite code is
injected into a process with help PTRACE_SEIZE.

Currently crtools blocks signals from a parasite code.  If a process has
pending signals, crtools wait while a process handles these signals.

This method is not suitable for stopped tasks.  A stopped task can have a
few pending signals, when we will try to execute a parasite code, we will
need to drop SIGSTOP, but all other signals must remain pending, because a
state of processes must not be changed during checkpointing.

This patch adds two ptrace commands to set/get signal-blocked mask.

I think gdb can use this commands too.

[akpm@linux-foundation.org: be consistent with brace layout]
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:08:01 -07:00
..
2013-04-26 16:08:16 +10:00
2013-05-06 15:55:19 -04:00
2012-10-16 18:49:15 -07:00
2013-03-27 14:37:47 +00:00
2013-02-14 00:54:17 -05:00
2013-03-28 01:20:42 -04:00
2012-12-03 15:07:36 -05:00
2013-03-17 19:40:50 -07:00
2013-06-19 18:30:27 -07:00
2013-02-27 19:10:22 -08:00
2013-04-19 14:57:57 -04:00
2012-11-16 10:15:35 -08:00
2013-03-06 15:40:53 -05:00
2013-03-17 14:35:13 -04:00
2013-03-22 16:19:59 -07:00
2013-03-21 12:36:33 -04:00
2013-05-02 13:40:15 +03:00