mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00: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:
1 parent
93a027ca23
commit
1e795d4e16
2 files changed
+2
-2