I have two directories in my "kernel-modules" repository; they each contain C source code & object code, but for different operating system kernels.
- "Linux Device Drivers," Third Edition. O'Reilly Media, Authors: Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman.
- Book uses Linux Kernel version 2.5.x.
- "Designing BSD Rootkits," Published by No Starch (2007), authored by Joseph Kong.
- Book uses FreeBSD; version 6.0-STABLE