Project

General

Profile

Actions

Feature #16401

open

psig(1) could show signal mask, pflags(1) could decode it

Added by Rich Lowe about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Talking to someone about a bug they were having with signal masking, I was surprised to learn that the mask (from sigprocmask or pthread_sigmask) was reported only by pflags and not psig, and when reported by pflags it was not decoded.

It would be good if pflags could decode the mask (optionally?).
It would be good if psig could display the mask, also decoded (also optionally?)

It's a bit hard to see how to get this into psig, since the mask is per-thread, but the disposition of signals is not, but it seems a much more obvious place to look for the masks than pflags.

It's also much easier for the system to decode the mask, than for me to.

No data to display

Actions

Also available in: Atom PDF