kern_fcntl
error = kern_fcntl(uap->fd, uap->cmd, &dat, curthread->td_ucred);
int kern_fcntl(int fd, int cmd, union fcntl_dat *dat, struct ucred *cred);