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