On Fri, Mar 24, 2017, at 20:41, Andrew Warkentin wrote:
As I said before, UX/RT will take file-oriented
architecture even
further than Plan 9 does. fork() and some thread-related APIs will be
pretty much the only APIs implemented as non-file-based primitives.
Pretty much the entire POSIX/Linux API will be implemented although
most non-file-based system calls will have file-based implementations
underneath (for example, getpid() will do a readlink() of /proc/self
to get the PID).
Does readlink need to exist as a system call? Maybe it should be
possible to open and read a symbolic link - using a flag passed to open,
like AT_SYMLINK_NOFOLLOW.