special treatment for ioctl