netlink execution context
terry.shoes at gmail.com
Tue Jan 8 11:14:55 EST 2013
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies