[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
memory in kernel and user land
I am looking for some simple method of exchanging data between the kernel
and a user process. basically i cant use the proc filesystem. so im
looking for something along these lines:
------- in kernel module
char my_array[80];
strcpy(my_array,"Hello");
//export the variable somehow into user space
---------- in user process
//import the variable from kernel space
printf("Kernel says: %s", my_array);
Ive tried to find example/documentation but i havent been successful.
thank you very very much for all your help!
Dan
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/