diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-07 15:08:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-07 18:49:27 +0200 |
commit | 7f2791f02eb0febe407172a60c8c19a34287f183 (patch) | |
tree | bd2b3d8cde27a201bec5dd29bbacde5aacbe38b1 /Kernel/TTY/PTYMultiplexer.cpp | |
parent | c4604bc08093691031b85cc790e20c3235b12fa4 (diff) | |
download | serenity-7f2791f02eb0febe407172a60c8c19a34287f183.zip |
Kernel: Increase maximum PTY count from 8 to 64
Let's allow users to allocate more pseudo-terminals if they want.
Diffstat (limited to 'Kernel/TTY/PTYMultiplexer.cpp')
-rw-r--r-- | Kernel/TTY/PTYMultiplexer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp index 0f0dae7415..a45bc6b820 100644 --- a/Kernel/TTY/PTYMultiplexer.cpp +++ b/Kernel/TTY/PTYMultiplexer.cpp @@ -24,7 +24,6 @@ PTYMultiplexer& PTYMultiplexer::the() UNMAP_AFTER_INIT PTYMultiplexer::PTYMultiplexer() : CharacterDevice(5, 2) { - constexpr unsigned max_pty_pairs = 8; m_freelist.ensure_capacity(max_pty_pairs); for (int i = max_pty_pairs; i > 0; --i) m_freelist.unchecked_append(i - 1); |