lkml.org 
[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix queued SIGIO

Hello,

On Tue, 19 Sep 2000, Robert H. de Vries wrote:

> It would be better to change SI_SIGIO in all the
> include/asm-*/siginfo.h files from -5 to __SI_CODE(__SI_SIGIO, -5)
> __SI_SIGIO would become (6 << 16).

This is not needed for SI_SIGIO. It is not generated from
the kernel. It seems this interface is already obsoleted.

> The code in arch/*/kernel/signal.c only copies the lower 16 bits to user
> space. This means that the test SI_FROMKERNEL returns true and user space
> still gets the same values as before.
>
> The same trick is indeed used also in my POSIX timer patch.

Yes, for every code generated from kernel. The others are
in __SI_KILL group. I see, __SI_CODE is fixed in your patch. Very good.
There are some unused groups (__SI_RT) but I can't find descriptions
or comments. Is it "Real Time" ? Hm.


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/

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