You suggested an ioctl. Nothing said *you* needed to be the one to write whatever was on the other end of it.