]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
signal.7: Various fields in /proc/PID/status show signal-related information
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 10 Jul 2019 13:19:31 +0000 (15:19 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 10 Jul 2019 13:19:31 +0000 (15:19 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/signal.7

index 0501fefc5ff4bd0b40d16d75d30fc648636e0fbd..87eb9920cb2d865adc4f2ac28018ca8ea155e502 100644 (file)
@@ -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),