On Thu, 24 Mar 2005 02:40:59 -0800 (PST), cranium2003 <cranium2003@xxxxxxxxx> wrote: > Hi all, > I read thread on kernelnewbies that string can > be accessed in kernel from user space. So i try to do > it. I write simple user space program that receives > input string from user. I wan to know how then i can > write a kernel module that will receive that string > given by user. Some methods of passing data from user to kernel is through - your own character or block devices, - proc entries - your own system calls. Which one to use depends on what you want to do. If you just want to print a string create a char or block device and pass it on write operation or whatever... Proc is also easy to implement.... regards Manish Regmi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/