3 ms·
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, unlin
by geocar 12y ago
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.
- 101914 12y agoI 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.