Kernel: Closing a MasterPTY should generate a TTY hangup.

This commit is contained in:
Andreas Kling 2019-02-05 12:55:19 +01:00
commit 2a0700af9a
Notes: sideshowbarker 2024-07-19 15:51:26 +09:00
4 changed files with 13 additions and 3 deletions

View file

@ -87,7 +87,7 @@ public:
bool is_blocked() const
{
return m_state == BlockedSleep || m_state == BlockedWait || m_state == BlockedRead || m_state == BlockedSignal || m_state == BlockedSelect;
return m_state == BlockedSleep || m_state == BlockedWait || m_state == BlockedRead || m_state == BlockedWrite || m_state == BlockedSignal || m_state == BlockedSelect;
}
PageDirectory& page_directory() { return *m_page_directory; }