Re: [PATCH] Fix queued SIGIO

From: Julian Anastasov (ja@ssi.bg)
Date: Tue Sep 19 2000 - 03:53:43 EST


        Hello,

On Mon, 18 Sep 2000, Andi Kleen wrote:

> > SI_SIGIO is not generated from kernel. The same is for the
> > other SI_ consts < 0 not defined with __SI_CODE.
>
> Ok, then you have already broken binary compatibility between 2.2 and 2.4

        Looking in the old kernels, it seems the binary compatibility
was broken in 2.3.21 when si_code returns POLL_xxx events just like
mentioned in "The Single UNIX ® Specification, Version 2",
xsh/signal.h.html and not SI_SIGIO.

        SI_SIGIO in si_code for 2.2 does not return any information
about the events. I even see that Redhat maintains patch against 2.2
to backport the POLL_xxx events from 2.3. Not sure after the changes
in 2.4.0-test1. Anyway, 2.2 looks unusable for me and I don't see other
way this problem to be fixed. The binary compatibility is impossible
to exist. The applications can support the both ways: the old SI_SIGIO
and the new POLL_xxx events (recompiled after test1) in si_code.

        The next step is somebody to implement event merging and to
allow receiving of many events with one call. For the next kernels.

Regards

--
Julian Anastasov <ja@ssi.bg>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:19 EST