OS, Unix and Scheme code
Internal Links

About Me

Unix/Kernel Code

Scheme Code

Web Application

External Links

Java, Crypto, ASN.1



Kcont is a pseudo-device that provides a session based container. It can be configured to act as a stack (FILO) or a queue (FIFO). It is session based (each session gets it's own container) so that it can be used to store 'objects' in scripts. It's main use is to provide an example of how to create LKM's for OpenBSD. I wrote it because many of the examples I saw we're either complicated with hardware driving code or were to simple (Hello World) that really didn't take advantage of all of the features of Unix pseudo-devices like ioctls. This really shouldn't be used for more than an example as the same functionality can be achieved with userland utilities.

Download Source Code

© 2003-2009 Evan Farrer All Rights Reserved.