drewdevault, 1 month ago Okay, about done for today. Summary of day 14 writing a Unix clone: New syscalls: exit, waitpid Improvements to openat: enforces read/write mode, supports O_DIRECTORY, O_APPEND, O_TRUNC, O_EXCL, and O_CLOEXEC Added an inode cache Optimized the MMU code for fork and process clean-up (still no CoW, though) And laid some groundwork for signals, which I have been dreading from the start. https://git.sr.ht/~sircmpwn/bunnix
Okay, about done for today. Summary of day 14 writing a Unix clone:
New syscalls: exit, waitpid
Improvements to openat: enforces read/write mode, supports O_DIRECTORY, O_APPEND, O_TRUNC, O_EXCL, and O_CLOEXEC
Added an inode cache
Optimized the MMU code for fork and process clean-up (still no CoW, though)
And laid some groundwork for signals, which I have been dreading from the start.
https://git.sr.ht/~sircmpwn/bunnix