4 ms·
For those unaware, ioctl(TIOCSTI) allows injecting characters back into the tty, where they will be read by the next process to read from the terminal. In this
by tedunangst 8y ago
For those unaware, ioctl(TIOCSTI) allows injecting characters back into the tty, where they will be read by the next process to read from the terminal. In this case, that process is the root shell that execed su.
- _wmd 8y agoI guess you're the right person to ask - why hasn't this just been ripped out of the likes of OpenBSD? edit: seems it already has! https://marc.info/?l=openbsd-cvs&m=149870941319610 https://marc.info/?l=openbsd-cvs&m=149870941319610