From 9a36b8fca004a55a28827fe0f1ec5c82be600cc3 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Tue, 16 Jul 2013 12:19:33 +0400 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man2/ptrace.2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man2/ptrace.2 b/man2/ptrace.2 index ea0087800..f6787f82f 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -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 .