Operating Systems 2015F: Tutorial 8

From Soma-notes

In this tutorial you should mainly be working on your project. If you are having problems, ask for help!

If you are looking for functionality to play with, try looking at call_usermodehelper() and related functions defined in kernel/kmod.c. There is a nice, but old article about this API at IBM.

You may also want to check out kprobes, documented in Documentation/kprobes.txt, if you wish to modify kernel functionality without modifying the source. In most cases, though, it will be easier to just modify the source directly. (While you don't have to reboot to use kprobes, in practice issues with unloading and loading modules will mean you'll still have to reboot a lot when developing anything using kprobes.)