Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
Ok thanks! what do I have to include to use this? And what are the arguments?
Um…
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.