lkml.org 
[lkml]   [2000]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Fix queued SIGIO
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.048 / U:2.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site