Hello
How can i use system calls in my module ?
Do i need any headers file ?
When i try to use for example write() or sys_write()
durring compilation i receive error that these symbols are not defined.
My problem is that i'm using 2.6 kernel and i do not have
/proc/ksyms. So where can i find which symbols are exported by my kernel ?
By the way: Where in linux source code is open() system call ?
Thanx
Michal
sound_firmware.c
well, look into {LINUX-SOURCE}/sound/sound_firmware.c there's an example...
BTW, please don't use any syscalls in your kernel modules.
(a really good syscall table: http://www.lxhp.in-berlin.de/lhpsyscal.html)
Thanx, it helped a lot :))
Thanx, it helped a lot :))