mirror of
https://github.com/troglobit/finit.git
synced 2026-10-09 16:50:59 +07:00
Fix #175: Ensure finit does not acquire 'dev' as controlling TTY
When starting a getty Finit checks first that the configured TTY device actually exists and is a TTY. This patch, by Tobias Waldekranz, ensures Finit (PID 1) doesn't acquire the TTY device as a controlling TTY. If that happens PID 1 will get all signals sent to the process actually started with the device as its controlling TTY. Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in: