fn sys_open_dir(all_state: &mut InterruptAllSavedState) -> SyscallResult