how to call socket prog code written in user space from kernel space???HELP
Can any 1 tell me how to use execv from kernel space to call a user space program writtenfor socket prog.
I tried to write code for socket in kernel but its not working. Any help about socket code in kernel is also needed. Thankx. |
Moved: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Kernel-space should not "call" user-space: the code there cannot be trusted.
Normally, a user-space daemon program is started first, and it connects to the kernel-code, which sends it "notifications." The user-space daemon then decides what to do. As a typical example, look at the design of the hotplug facility. |
All times are GMT -5. The time now is 10:14 AM. |