4 ms·
So, Binder? And man, when people call ioctl a bastardized syscall... looks like 9 syscalls in one!
by ndesaulniers 10y ago
So, Binder? And man, when people call ioctl a bastardized syscall... looks like 9 syscalls in one!
- TD-Linux 10y ago... that's pretty much the point of ioctl - a syscall multiplexer in the context of a fd. 9 is pretty low - check out /dev/cdrom or /dev/dri/* if you want to see a lot.
- dom0 10y agoioctl is pretty much a generic syscall interface (other OSes have similar things). An awful lot of Linux subsystems export an awful lot of syscalls through it; probably easily a four or five figure number (literature typically claims that Linux has only a couple hundred syscalls).