Where is the rt_sigprocmask() function?
I grepped the kernel source codes of Vine Linux 2.6.10 and I did not find the function rt_sigprocmask(). I would want to use this for unblocking real-time signals in a certain kernel process because it seems that the sigprocmask() is not working. Can you please tell me where can I find this or what to include in order to use this? Thanks!
|
In kernelspace, you use “sys_rt_sigprocmask”.
|
Ok thanks! what do I have to include to use this? And what are the arguments?
|
Quote:
If you read the link I gave before, you would see that the function prototype is in linux/syscalls.h. So you do an “#include <linux/syscalls.h>” to use this. For the arguments see here again. |
Ok thanks, I am sorry I didn't notice that there was a link. I thought it was just a different font color. Thanks! :)
|
I still can't use sys_rt_sigprocmask. Yes it is recognize by the compiler when I included linux/syscalls.h, because when I try to put wrong arguments, it givess an error. But when I load the module to the kernel, it says undefined symbol 'sys_rt_sigprocmask'. Also I noticed that the two arguments are supposed to be user space variables (because of the __user). So this means that I still need to do some copy_from_user routines just to get the values for these arguments from the user space? Thanks! :)
|
All times are GMT -5. The time now is 05:43 PM. |