[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH] Fix queued SIGIO
From:       Alan Cox <alan () lxorguk ! ukuu ! org ! uk>
Date:       2000-09-18 11:36:02
[Download RAW message or body]

> 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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic