The goal of this project is to build I/O - currently file systems and sockets - bindings for NetBSD kernel Lua.
Grasping kernel subsystems is a daunting task; this section contains a few summaries, byproduct of code reading and research into the I/O and networking subsystems of the NetBSD kernel.
- VFS and NetBSD VFS implementation overview
- NetBSD I/O Subsystem overview
- NetBSD Networking Subsystem overview (soon)
- Kernel Lua I/O API Specification
- Socket module API
Directories under src:
- io: port of Lua 'io' module to NetBSD kernel Lua
- socket: socket library to kernel Lua
- staging: contains any code I wrote to see how things work
- progs: some Lua programs using io and socket libraries