Repository navigation
Show signal masks in /proc/[pid]/status - #14983
Merged
Merged
Conversation
The status file goes straight from Threads to CapInh, so a reader cannot tell which signals a process blocks, ignores or handles. Print SigPnd, ShdPnd, SigBlk, SigIgn and SigCgt between those two lines, as task_sig() does. SigQ is left out, since the sentry does not account queued signals per user. Fixes #14500
copybara-service
Bot
force-pushed
the
test/cl987873947
branch
3 times, most recently
from
September 25, 2026 21:31
8329958 to
b4ac3e1
Compare
PiperOrigin-RevId: 988522463
copybara-service
Bot
force-pushed
the
test/cl987873947
branch
from
September 25, 2026 22:21
b4ac3e1 to
5d3b000
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show signal masks in /proc/[pid]/status
The status file goes straight from Threads to CapInh, so a reader cannot tell which signals a process blocks, ignores or handles.
Print SigPnd, ShdPnd, SigBlk, SigIgn and SigCgt between those two lines, as task_sig() does.
Fixes #14500
FUTURE_COPYBARA_INTEGRATE_REVIEW=#14499 from dany74q:proc-status-sig-lines 0ac45dc