Signal from driver: zeroes in siginfo_t
Hi!
I'm using angstrom linux 2.6.25.5-1.1-pae. I'm sending some signal from my driver to my user application by calling send_sig_info: Code:
siginfo_t usig; Code:
Then I had some investigation iside signal.c and I'm sure now that my siginfo_t remains correct in __send_signal function, after copying to new struct sigqueue *q... but then i was lost in kernel code. Please don't ask me why I need to send signal from driver in kernelspace to application in userspace :) I'm just wondering what happens with siginfo_t ? What code should I write to get it correct? I guess problem is located in driver (sending) code, because application can successfully send signal to itself with correct si_value.sival_int. Thanks in advance! |
All times are GMT -5. The time now is 03:39 PM. |