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