This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1951] sigset() does not correctly return SIG_HOLD
- From: "michael dot kerrisk at gmx dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Apr 2006 22:43:46 -0000
- Subject: [Bug libc/1951] sigset() does not correctly return SIG_HOLD
- References: <20051130125217.1951.michael.kerrisk@gmx.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From michael dot kerrisk at gmx dot net 2006-04-23 22:43 -------
Subject: Re: sigset() does not correctly return SIG_HOLD
> I've checked in a patch which adjusts the return value. I
> also added the test case.
Thanks.
> But the man page should say that this behavior is useful only (if ever) in
> signal threaded code. The handler is a process property and other threads
> might as well change it. The result if sigset cannot be used to reliably
> restore the previous signal setting.
Yes, the same comments hold for signal() and sigaction() too. Maybe I
will add something to signal(7) on this point.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1951
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.