DTYPE_SEM
case DTYPE_SEM:
finit(fp, FREAD | FWRITE, DTYPE_SEM, ks, &ksem_ops);
if (fp->f_type != DTYPE_SEM) {