From aa16684c953e6f513b5470b820a4634a44496d11 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 10 Jul 2019 15:19:31 +0200 Subject: [PATCH] signal.7: Various fields in /proc/PID/status show signal-related information Signed-off-by: Michael Kerrisk --- man7/signal.7 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/man7/signal.7 b/man7/signal.7 index 0501fefc5..87eb9920c 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -779,6 +779,29 @@ POSIX.1, except as noted. .SH NOTES For a discussion of async-signal-safe functions, see .BR signal-safety (7). +.PP +The +.I /proc/[pid]/task/[tid]/status +file contains various fields that show the signals +that a thread is blocking +.RI ( SigBlk ), +catching +.RI ( SigCgt ), +or ignoring +.RI ( SigIgn ). +(The set of signals that are caught or ignored will be the same +across all threads in a process.) +Other fields show the set of pending signals that are directed to the thread +.RI ( SigPnd ) +as well as the set of pending signals that are directed +to the process as a whole +.RI ( ShdPnd ). +The corresponding fields in +.I /proc/[pid]/status +show the information for the main thread. +See +.BR proc (5) +for further details. .SH SEE ALSO .BR kill (1), .BR clone (2),