Skip to content

Show signal masks in /proc/[pid]/status - #14983

Merged
copybara-service[bot] merged 2 commits into
masterfrom
test/cl987873947
Sep 25, 2026
Merged

copybara-service[bot] merged 2 commits into
masterfrom
test/cl987873947

Conversation

@copybara-service

Copy link
Copy Markdown

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

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 copybara-service Bot added the exported Issue was exported automatically label Sep 25, 2026
@copybara-service
copybara-service Bot force-pushed the test/cl987873947 branch 3 times, most recently from 8329958 to b4ac3e1 Compare September 25, 2026 21:31
@copybara-service
copybara-service Bot merged commit 5d3b000 into master Sep 25, 2026
7 of 10 checks passed
@copybara-service
copybara-service Bot deleted the test/cl987873947 branch September 25, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/proc/[pid]/status is missing the signal mask lines

2 participants