kOS doesn't use the Linux kernel code. It supports a few of the same syscalls:
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.
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.
And why doesn't kx have binaries available for BSD? They have Solaris. Burning questions I have always had. Maybe just based on demand from their licensses?
k and kdb are some of the very few things that keep me interested in programming and computers.