Re: [PATCH] Fix queued SIGIO

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Sep 18 2000 - 07:36:02 EDT

  • Next message: David Woodhouse: "Re: Q: sock output serialization"

    > On Mon, Sep 18, 2000 at 12:34:03PM +0200, Alan Cox wrote:
    > > > The problem is really that SI_SIGIO is negative, but it should be positive
    > > > to make SI_FROMUSER return false on it.
    > > >
    > > > Changing it would unfortunately break binary compatibility. This patch
    > >
    > > Why ?
    >
    > If a program checks info->si_code for incoming signals.

    ok now what does the value the kernel passes have to do with the value we
    write on the user stack - at the moment we blindly copy but we could just
    use a tiny lookup table to 'dekernelize' the ID. In fact if you picked a bitflag
    you could just mask it

    -
    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 : Mon Sep 18 2000 - 07:46:58 EDT