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

Yet, another question about writing a module.....



The first thing: THANK YOU to all people that give me any tips!!
 
Ok, suppose I want to write a module and I want to access to a file in the filesystem to read and save its content into a  previous allocated kernel buffer. 
The use of module could be "modprobe module /tmp/pippo".
I think I can't use open() function because I know that I can olny call function listed in ksym.c file. It's true?
So, is there any function that I can use to read the content of a file?
Any tip will be useful.....