linux-stable/include
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
..
acpi
asm-generic vmlinux.lds: add comments for global variables and clean up useless declarations 2013-07-03 16:07:34 -07:00
clocksource
crypto
drm
dt-bindings ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
keys
linux lcd: add devm_lcd_device_{register,unregister}() 2013-07-03 16:07:43 -07:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi
sound
target
trace mm: add tracepoints for LRU activation and insertions 2013-07-03 16:07:31 -07:00
uapi ptrace: add ability to get/set signal-blocked mask 2013-07-03 16:08:01 -07:00
video
xen Main features: 2013-07-03 10:31:38 -07:00
Kbuild