I attempted to use systemcalls such as sys_sendto when programming a kernel module. But the compiler warned me that the symbol ‘sys_sendto’ is undefined. I’m sure I have inculded the header file syscalls.h, so please help me and thank you. P.S: My linux version is 2.6.32
I attempted to use systemcalls such as sys_sendto when programming a kernel module. But
Share
For a module to link to a symbol in the kernel like sys_sendto(), it has to be exported by the kernel. Not all system calls are exported. See here