[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix queued SIGIO
On Wed, 20 Sep 2000, Julian Anastasov wrote:
>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.

I think you are mistaking. The purpose of SIGIO is to notify user programs of
IO events detected by the kernel. So its use is almost exclusively in the
The reason it currently breaks is that when send_sig_info is used with real
info data the check SI_FROMUSER evaluates to true.
Other calls use a pointer to address 1 (ugh!) to inform bad_signal() that
this signal is generated by the kernel.


Robert de Vries
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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