Commit f0bec55f authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Report shared pending signals in /proc/<pid>/status

Patch from Roland McGrath.
parent 220abb7d
......@@ -211,6 +211,9 @@ static inline char * task_sig(struct task_struct *p, char *buffer)
buffer += sprintf(buffer, "SigPnd:\t");
buffer = render_sigset_t(&p->pending.signal, buffer);
*buffer++ = '\n';
buffer += sprintf(buffer, "ShdPnd:\t");
buffer = render_sigset_t(&p->signal->shared_pending.signal, buffer);
*buffer++ = '\n';
buffer += sprintf(buffer, "SigBlk:\t");
buffer = render_sigset_t(&p->blocked, buffer);
*buffer++ = '\n';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment