Ioctls Unix is isn't THAT sane once you look at the details there are many subdispatcher-liker syscalls ioctl is the worst Native ioctl are per-device but we don't have per-device hooks fortunately ioctl usually don't overlap biiiig switches Major subsystems are implemented only/mostly this way tty layer STREAMS SysV TCP/IP Truckloads of code