Contributor
Chengzhi Tan

Develop Socket API for Lunatik


Mentors
Lourival Vieira Neto
Organization
LabLua

Lunatik is a kernel-level Lua interpreter version for scripting the Linux kernel. For example, it allows users to filter packets using Lua scripts.

I chose this project, Develop Socket API for Lunatik because I hope I can implement a way to reduce the barrier to kernel development. I have some Linux kernel and operating system learning experience and I found that without the necessary knowledge detail of kernel mechanism, it is hard to modify the behavior of an operating system.

To implement a library containing most socket APIs in Posix.1g for Lunatik. The final library should be available for IPv4, IPv6, TCP, UDP, RAW and Unix/AF_LOCAL. Three kinds of synchronous I/O, Blocking, Non-blocking and I/O Multiplex should be tested with full unit tests.