Hello guys,<div><br></div><div>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? </div>
<div><br></div><div>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).</div>
<div><br></div><div>Thanks in advance!</div><div>Terry</div>