Hi,

I'm writing a kernel module. I want a user program to be able to install a handler for interrupts. Since interrupt handlers must reside in kernel space, I figure this should be done with signals. I allready found a function to send signals (sendsig()), but I can't send any data with it.

Does anyone know of a function to send a signal, with some sort of data? (in aio_read a signal is sent with data, so it should be possible)

Does anyone know of other means to signal a user program that an interrupt occured? I don't want to poll.

Maybe even a complete framework for creating an interrupt handler in user space?

thanx!

Dennis