netlink execution context

Terry Hsu terry.shoes at gmail.com
Tue Jan 8 11:14:55 EST 2013


Hello guys,

I have a question about the execution context of netlink. I am building a
loadable kernel module in my kernel. I try to use it as a netlink server to
receive the messages from user space. When the kernel module receives the
message from user space and starts to process, is it living in its own
context or it's actually borrowing the context of the current task?

I want to access functions in user space when the netlink module receives
the certain messages from user space. Is it possible to do so? Or it has to
live in syscall context? such as using clone to define where the child
process to start executing (function pointer as a parameter).

Thanks in advance!
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130108/418582d9/attachment.html 


More information about the Kernelnewbies mailing list