mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Kernel: Increase maximum PTY count from 8 to 64
Let's allow users to allocate more pseudo-terminals if they want.
This commit is contained in:
parent
c4604bc080
commit
7f2791f02e
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue