accessing functions in kernel modules
Hi, I've written a module that has some kernel space functions that I'd like to acces using a user space program. Anyone have any experience doing this? I've tried using EXPORT_SYMBOL and extern but that doesn't work, actually I don't think this is how its done anyways. The module sets some parameter that I'd like to control using the program.
Thanks in advance |
short answer, you dont. you can use a device file or something in /proc though.
|
Quote:
|
Have you read this great book? Try it, I think it can help.
|
use open(),write(),read() system call
|
Quote:
theyre not ordinary files. check here , theres a chapter or two on it (chapters 5-7) |
All times are GMT -5. The time now is 07:14 PM. |