netlink execution context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux