OS-161 system call implementations