I am about to write my first kernel module for Linux ubuntu 3.8.0-29-generic
I do not have man 9 section for kernel functions (e.g. kmalloc, kfree...)
Neither can I see some function definitions in /usr/include, but rather in /usr/src/linux-headers-3.2.0-53/include/linux. How do I include headers in my code in this case?
I suspect there might be something like apt-get install kernel-devel that would solve all these issues at once, but I can't find one.
Also a link to a good introduction to kernel module writing would be much appreciated. Thanks.