Remove bug in process API, getcurprocess would decrement the pid it retrieved from curthread
Remove debug statements from file API
Add write syscall
sys_write modifies sys_filemapping's offset
Remove debug prints from sys_open()
Return nbytes parameter on success in sys_write()
Add read syscall