Hi,

krushnaal pai schrieb:
how to make a system call from module?
Someone told me that you shouldn't do that because it's to dangerous...
Also how can we include the c library headers in our modules,so as to use the open,read functions of c library?

the lib that offers these user-space functions is not available for kernel modules... but there exists something like an replacement, have a look into the kernel sources. The lib will not offer function for reading files, reading files (normally) requires a file handle, and a file handle is bound to a process, but kernel module ain't process.


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to