Add ioctl() system call support.