Using kill_fasync for sig >= SIGRTMIN ?

From: Isabelle, Francois (
Date: Wed Apr 16 2003 - 11:59:13 EST

I'm using kernel 2.4.20.

Is it possible to kill_fasync a signal >= SIGRTMIN to asynchronously notify
a user of the availability of data from a driver ?

It seems to me the code always sends a SIGIO instead.

Looking at fs/fnctl.c and kernel/signal.c, it appears to fail in

signal chosen is 40 ( lower than 64 on i386 )
bad_signal() , should not fail, except if kernel mode is not allowed to send
RT signals ...
then deliver_signal is called, which in turns call send_signal() .
rtsig-nr = 0 , rtsig-max = 1024, there is no reason to fail...

Any explanation would help, thank you.

Please CC me.

Francois Isabelle
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:19 EST