Sample code for Slackware 2.2 Kernel vdi in the Kernel Image handout directory
Proc file system calls
----------------
01 mod-hello/ OK -- Load and unload a module.
02 mod-procfsregister/ OK -- Register and unregister a procfile read.
03 mod-procfsread/ OK -- Supply a procfile read.
System call as module
---------------------
04 mod-syscall-58/ OK -- insert a system call replacing unused #58
Hardwired replacement system call (kernel syscall-58)
---------------------------------
05 syscall-58/ OK -- hardwired replacement system call in kernel
Works in syscall-58 kernel.