Re: signalfd() not handling sigqueue() sigval data correctly

From: Michael Kerrisk
Date: Wed Apr 09 2008 - 02:31:38 EST


On Wed, Apr 9, 2008 at 1:37 AM, Davide Libenzi <davidel@xxxxxxxxxxxxxxx> wrote:
> On Tue, 8 Apr 2008, Michael Kerrisk wrote:
>
> > Hi Davide,
> >
> > I was doing some playing about with signalfd(), and seem to have encountered a
> > bug: when a signalfd read() fetches data for a signal that was sent by
> > sigqueue(), the data accompanying the signal is not returned. Instead
> > ssi_int/ssi_ptr is zero.
>
> Are you able to fetch those info with, say, sigtimedwait(2)?

Yes.


--
Michael Kerrisk
Maintainer of the Linux man-pages project
http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug? Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/