Operating Systems 2015F: Tutorial 8

From Soma-notes
Revision as of 21:12, 13 November 2015 by Soma (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.)