ptrace.2: Add description for PTRACE_GETSIGMASK and PTRACE_SETSIGMASK

These two commands allow to examine and change mask of blocked signals.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Andrey Vagin 2013-07-16 12:19:33 +04:00 committed by Michael Kerrisk
parent 7a535f54fb
commit 9a36b8fca0
1 changed files with 15 additions and 0 deletions

View File

@ -356,6 +356,21 @@ If this flag is not set, signals are read from a per-thread queue.
.in
.PP
.TP
.BR PTRACE_GETSIGMASK " (since Linux 3.11)"
.\" commit 29000caecbe87b6b66f144f72111f0d02fbbf0c1
Retrieve mask of blocked signals to the address
.I data.
The
.I addr
argument contains the size of mask.
.TP
.BR PTRACE_SETSIGMASK " (since Linux 3.11)"
Change mask of blocked signals from the address
.I data.
The
.I addr
argument contains the size of mask.
.TP
.BR PTRACE_SETOPTIONS " (since Linux 2.4.6; see BUGS for caveats)"
Set ptrace options from
.IR data .