I recall seeing a solictation on the kOS website for people who could get a Linux kernel down to a certain size. I presumed that meant the intent was to use Linux code; at least I was thinking he would end up getting responses from people with a Linux bias.
But I also recall reading the line "no linux", which really piques my interest. I thought that just meant no Linux userland.
Now I like this project even better!
Sounds like you have access to the kOS source. Lucky you. Enjoy.
clone, execve(!), epoll_create, epoll_ctl, epoll_wait, dup2, stat, rename, unlink, getcwd, chdir, fstat, getdents, open, close, read, write, ftruncate, mmap2, munmap, ioctl, gettimeofday, socket, bind, connect, listen, acccept, socketpair, setsockopt
execve just runs another k interpreter (regardless of what you tell it to do) though, so it can just be used to run more k programs.