pub fn sys_dup2( locked: &mut Locked<Unlocked>, current_task: &CurrentTask, oldfd: FdNumber, newfd: FdNumber, ) -> Result<FdNumber, Errno>