diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-04-23 00:17:19 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-09-02 20:02:55 +0200 |
commit | df3f307b8e013814384723371dbfc549542a3a8f (patch) | |
tree | a42ad49d5f80bbc6babe3ebf41ef92e8a55e1e03 /include/server.h | |
parent | 15b0972bd3b8dbd1dae16ab3eb31a1026a63d17e (diff) |
seat: Avoid holding a tty fd
The kernel Secure Attention Key killer, triggered by SysRq+k, kills all
processes that hold an fd referencing the tty.
To avoid its attention, we stop storing the fd for the currently active
VT in seat state. This has the added benefit of simplifying state a bit.
Diffstat (limited to 'include/server.h')
0 files changed, 0 insertions, 0 deletions