Bug 12108 - psiginfo() treats realtime signals inconsistently
Summary: psiginfo() treats realtime signals inconsistently
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.12
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 15:18 UTC by Michael Kerrisk
Modified: 2014-06-30 07:52 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Test program (377 bytes, text/plain)
2010-10-10 15:18 UTC, Michael Kerrisk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kerrisk 2010-10-10 15:18:09 UTC
When psiginfo() is given a siginfo_t for a nonrealtime signal, it prints details of the siginfo() structure. But when is given a siginfo_t for a realtime signal in the same circumstances, all it prints is "Unknown signal NN".

This is inconsistent. Nonrealtime signals should be displayed in the same way as realtime signals.
Comment 1 Michael Kerrisk 2010-10-10 15:18:38 UTC
Created attachment 5049 [details]
Test program
Comment 2 Ulrich Drepper 2010-10-11 14:59:01 UTC
I've changed the code in git.