correct ioctl type alloc